public class MatchAnnotation
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TRUST_LEVEL |
static java.lang.String |
DEFAULT_VALUE |
java.lang.String |
kind |
int |
trustLevel |
java.lang.String |
value |
Constructor and Description |
---|
MatchAnnotation() |
MatchAnnotation(MatchAnnotation o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this MatchAnnotation.
|
static MatchAnnotation |
fromString(java.lang.String s)
String representation of this MatchAnnotation.
|
java.lang.String |
getKind() |
int |
getTrustLevel() |
java.lang.String |
getValue() |
MatchAnnotation |
makeCopy()
Creates and returns a deep copy of this MatchAnnotation.
|
static MatchAnnotation |
readFrom(java.io.InputStream is)
Read this MatchAnnotation from an XML fragment.
|
void |
setKind(java.lang.String kind) |
void |
setTrustLevel(int trustLevel) |
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
String representation of this MatchAnnotation.
|
MatchAnnotation |
withKind(java.lang.String kind) |
MatchAnnotation |
withTrustLevel(int trustLevel) |
MatchAnnotation |
withTrustLevel(java.lang.Integer trustLevel) |
MatchAnnotation |
withValue(java.lang.String value) |
void |
writeTo(java.io.OutputStream os)
Write this MatchAnnotation as an XML fragment
|
public java.lang.String kind
public java.lang.String value
public static final java.lang.String DEFAULT_VALUE
public int trustLevel
public static final int DEFAULT_TRUST_LEVEL
public MatchAnnotation()
public MatchAnnotation(MatchAnnotation o)
public void setKind(java.lang.String kind)
public java.lang.String getKind()
public MatchAnnotation withKind(java.lang.String kind)
public void setValue(java.lang.String value)
public java.lang.String getValue()
public MatchAnnotation withValue(java.lang.String value)
public void setTrustLevel(int trustLevel)
public int getTrustLevel()
public MatchAnnotation withTrustLevel(int trustLevel)
public MatchAnnotation withTrustLevel(java.lang.Integer trustLevel)
public MatchAnnotation makeCopy()
public static MatchAnnotation 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 MatchAnnotation 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 © 2013 Dassault Systèmes, All Rights Reserved.