public class ExpansionEntry
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 |
---|
ExpansionEntry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getDocfreq()
Returns the doc frequency
|
java.util.List<SourceTerm> |
getFromSourceTerms()
Returns the List of SourceTerms of the expansion
|
atg.search.routing.utils.Language |
getLang()
Returns the Language of the expansion, if different from the query language, otherwise null
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
int |
getSentfreq()
Returns the sentence frequency
|
java.lang.String |
getToExpansion()
Returns the term expansion
|
int |
getWeight()
Returns the term weight of expansion
|
int |
hashCode() |
void |
setDocfreq(int docfreq)
Sets the doc frequency
|
void |
setFromSourceTerms(java.util.List<SourceTerm> fromSourceTerms)
Sets the List of SourceTerms of the expansion
|
void |
setLang(atg.search.routing.utils.Language lang)
Sets the Language of the expansion
|
void |
setSentfreq(int sentfreq)
Sets the sentence frequency
|
void |
setToExpansion(java.lang.String toExpansion)
Sets the term expansion
|
void |
setWeight(int weight)
Sets the Term weight of expansion
|
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 getWeight()
public void setWeight(int weight)
weight
- Term weight of expansionpublic atg.search.routing.utils.Language getLang()
public void setLang(atg.search.routing.utils.Language lang)
lang
- Language of the expansionpublic java.lang.String getToExpansion()
public void setToExpansion(java.lang.String toExpansion)
toExpansion
- Term expansionpublic java.util.List<SourceTerm> getFromSourceTerms()
public void setFromSourceTerms(java.util.List<SourceTerm> fromSourceTerms)
fromSourceTerms
- List of SourceTerms of the expansionpublic int getDocfreq()
public void setDocfreq(int docfreq)
docfreq
- public int getSentfreq()
public void setSentfreq(int sentfreq)
sentfreq
- 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