|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.search.routing.command.SearchXMLObject atg.search.routing.command.search.ExpansionEntry
public class ExpansionEntry
A term expansion entry. User: jrowe Date: Aug 21, 2006 Time: 9:01:49 AM
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Constructor Summary | |
---|---|
ExpansionEntry()
|
Method Summary | |
---|---|
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 |
Methods inherited from class atg.search.routing.command.SearchXMLObject |
---|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public ExpansionEntry()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |