public class Term
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
Term() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static Term |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getId()
Returns the index of the term, starting at 1
|
java.lang.String |
getLabel()
Returns the original string of the term
|
TermLookupOp |
getOp()
Not all values are possible for StatementRetrieval: only Required, Negative, and None.
|
java.lang.String |
getRequestTag() |
DiagnosticStatus |
getStatus()
Returns the aggregate status of all the stems
|
java.util.List<StemLookup> |
getStems()
Returns stems or synonyms of the term
|
int |
hashCode() |
boolean |
isExact()
Indicates whether this term must match exactly
|
void |
setExact(boolean pExact)
Sets whether this term must match exactly
|
void |
setId(int pId)
Sets the index of the term, starting at 1
|
void |
setLabel(java.lang.String pLabel)
Sets the original string of the term
|
void |
setOp(TermLookupOp pOp)
Sets the operation
|
void |
setStatus(DiagnosticStatus pStatus)
Sets the aggregate status of all the stems
|
void |
setStems(java.util.List<StemLookup> pStems)
Sets stems or synonyms of the term
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getId()
public void setId(int pId)
pId
- the index of the term, starting at 1public java.lang.String getLabel()
public void setLabel(java.lang.String pLabel)
pLabel
- the original string of the termpublic DiagnosticStatus getStatus()
public void setStatus(DiagnosticStatus pStatus)
pStatus
- the aggregate status of all the stemspublic boolean isExact()
public void setExact(boolean pExact)
pExact
- whether this term must match exactlypublic TermLookupOp getOp()
public void setOp(TermLookupOp pOp)
pOp
- the operationpublic java.util.List<StemLookup> getStems()
public void setStems(java.util.List<StemLookup> pStems)
pStems
- stems or synonyms of the termprotected static Term fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml)
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected void getAttributeXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getAttributeXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
atg.search.routing.command.IncompleteCommandException