public class RankOnAnnotation
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
annotationName |
java.lang.String |
annotationValue |
int |
forcedRank |
Constructor and Description |
---|
RankOnAnnotation() |
RankOnAnnotation(RankOnAnnotation o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RankOnAnnotation.
|
static RankOnAnnotation |
fromString(java.lang.String s)
String representation of this RankOnAnnotation.
|
java.lang.String |
getAnnotationName()
The annotation that triggers the ranking modification.
|
java.lang.String |
getAnnotationValue()
The annotation value required to trigger the ranking modification.
|
int |
getForcedRank()
The new ranking.
|
RankOnAnnotation |
makeCopy()
Creates and returns a deep copy of this RankOnAnnotation.
|
static RankOnAnnotation |
readFrom(java.io.InputStream is)
Read this RankOnAnnotation from an XML fragment.
|
void |
setAnnotationName(java.lang.String annotationName)
The annotation that triggers the ranking modification.
|
void |
setAnnotationValue(java.lang.String annotationValue)
The annotation value required to trigger the ranking modification.
|
void |
setForcedRank(int forcedRank)
The new ranking.
|
java.lang.String |
toString()
String representation of this RankOnAnnotation.
|
RankOnAnnotation |
withAnnotationName(java.lang.String annotationName) |
RankOnAnnotation |
withAnnotationValue(java.lang.String annotationValue) |
RankOnAnnotation |
withForcedRank(int forcedRank) |
RankOnAnnotation |
withForcedRank(java.lang.Integer forcedRank) |
void |
writeTo(java.io.OutputStream os)
Write this RankOnAnnotation as an XML fragment
|
public java.lang.String annotationName
public java.lang.String annotationValue
public int forcedRank
public RankOnAnnotation()
public RankOnAnnotation(RankOnAnnotation o)
public void setAnnotationName(java.lang.String annotationName)
public java.lang.String getAnnotationName()
public RankOnAnnotation withAnnotationName(java.lang.String annotationName)
public void setAnnotationValue(java.lang.String annotationValue)
public java.lang.String getAnnotationValue()
public RankOnAnnotation withAnnotationValue(java.lang.String annotationValue)
public void setForcedRank(int forcedRank)
public int getForcedRank()
public RankOnAnnotation withForcedRank(int forcedRank)
public RankOnAnnotation withForcedRank(java.lang.Integer forcedRank)
public RankOnAnnotation makeCopy()
public static RankOnAnnotation readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static RankOnAnnotation fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.