public class IncreaseRankOnAnnotation
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 |
value |
Constructor and Description |
---|
IncreaseRankOnAnnotation() |
IncreaseRankOnAnnotation(IncreaseRankOnAnnotation o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this IncreaseRankOnAnnotation.
|
static IncreaseRankOnAnnotation |
fromString(java.lang.String s)
String representation of this IncreaseRankOnAnnotation.
|
java.lang.String |
getAnnotationName()
Name of the targeted annotation.
|
java.lang.String |
getAnnotationValue()
Value of the annotation that will trigger the increase in ranking.
|
int |
getValue()
Number to increase in the ranking when triggered.
|
IncreaseRankOnAnnotation |
makeCopy()
Creates and returns a deep copy of this IncreaseRankOnAnnotation.
|
static IncreaseRankOnAnnotation |
readFrom(java.io.InputStream is)
Read this IncreaseRankOnAnnotation from an XML fragment.
|
void |
setAnnotationName(java.lang.String annotationName)
Name of the targeted annotation.
|
void |
setAnnotationValue(java.lang.String annotationValue)
Value of the annotation that will trigger the increase in ranking.
|
void |
setValue(int value)
Number to increase in the ranking when triggered.
|
java.lang.String |
toString()
String representation of this IncreaseRankOnAnnotation.
|
IncreaseRankOnAnnotation |
withAnnotationName(java.lang.String annotationName) |
IncreaseRankOnAnnotation |
withAnnotationValue(java.lang.String annotationValue) |
IncreaseRankOnAnnotation |
withValue(int value) |
IncreaseRankOnAnnotation |
withValue(java.lang.Integer value) |
void |
writeTo(java.io.OutputStream os)
Write this IncreaseRankOnAnnotation as an XML fragment
|
public java.lang.String annotationName
public java.lang.String annotationValue
public int value
public IncreaseRankOnAnnotation()
public IncreaseRankOnAnnotation(IncreaseRankOnAnnotation o)
public void setAnnotationName(java.lang.String annotationName)
public java.lang.String getAnnotationName()
public IncreaseRankOnAnnotation withAnnotationName(java.lang.String annotationName)
public void setAnnotationValue(java.lang.String annotationValue)
public java.lang.String getAnnotationValue()
public IncreaseRankOnAnnotation withAnnotationValue(java.lang.String annotationValue)
public void setValue(int value)
public int getValue()
public IncreaseRankOnAnnotation withValue(int value)
public IncreaseRankOnAnnotation withValue(java.lang.Integer value)
public IncreaseRankOnAnnotation makeCopy()
public static IncreaseRankOnAnnotation 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 IncreaseRankOnAnnotation 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.