public class RelatedTermsEntry
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
lang |
java.lang.String |
relatedTerm |
Constructor and Description |
---|
RelatedTermsEntry() |
RelatedTermsEntry(RelatedTermsEntry o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RelatedTermsEntry.
|
static RelatedTermsEntry |
fromString(java.lang.String s)
String representation of this RelatedTermsEntry.
|
java.lang.String |
getLang() |
java.lang.String |
getRelatedTerm()
The related terms to add; will be used as a display form.
|
RelatedTermsEntry |
makeCopy()
Creates and returns a deep copy of this RelatedTermsEntry.
|
static RelatedTermsEntry |
readFrom(java.io.InputStream is)
Read this RelatedTermsEntry from an XML fragment.
|
void |
setLang(java.lang.String lang) |
void |
setRelatedTerm(java.lang.String relatedTerm)
The related terms to add; will be used as a display form.
|
java.lang.String |
toString()
String representation of this RelatedTermsEntry.
|
RelatedTermsEntry |
withLang(java.lang.String lang) |
RelatedTermsEntry |
withRelatedTerm(java.lang.String relatedTerm) |
void |
writeTo(java.io.OutputStream os)
Write this RelatedTermsEntry as an XML fragment
|
public RelatedTermsEntry()
public RelatedTermsEntry(RelatedTermsEntry o)
public void setLang(java.lang.String lang)
public java.lang.String getLang()
public RelatedTermsEntry withLang(java.lang.String lang)
public void setRelatedTerm(java.lang.String relatedTerm)
public java.lang.String getRelatedTerm()
public RelatedTermsEntry withRelatedTerm(java.lang.String relatedTerm)
public RelatedTermsEntry makeCopy()
public static RelatedTermsEntry 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 RelatedTermsEntry 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.