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