|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.search.routing.command.SearchXMLObject
atg.search.routing.command.search.QueryTerms
public class QueryTerms
A collection of QueryTerms and various stats.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
QueryTerms()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object pObject)
|
protected void |
getAttributeXML(java.lang.StringBuilder sb)
|
int |
getBaseWeight()
Returns the Base term weight |
protected void |
getBodyXML(java.lang.StringBuilder sb)
|
int |
getIndexSize()
Returns the total index term frequency |
QueryTermsMode |
getMode()
returns query terms mode |
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request |
java.util.List<QueryTerm> |
getTerms()
Returns the List of QueryTerms |
int |
getTotalDocs()
Returns the total documents in index |
int |
getTotalTerms()
Returns the total index terms |
int |
hashCode()
|
void |
setBaseWeight(int baseWeight)
Sets the Base term weight |
void |
setIndexSize(int indexSize)
Sets the total index term frequency |
void |
setMode(QueryTermsMode pMode)
Sets query terms mode |
void |
setTerms(java.util.List<QueryTerm> terms)
Sets the List of QueryTerm |
void |
setTotalDocs(int totalDocs)
Sets the total documents in index |
void |
setTotalTerms(int totalTerms)
Sets the total index terms |
| 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 QueryTerms()
| Method Detail |
|---|
public boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.List<QueryTerm> getTerms()
public void setTerms(java.util.List<QueryTerm> terms)
terms - List of QueryTermpublic int getBaseWeight()
public void setBaseWeight(int baseWeight)
baseWeight - Base term weightpublic QueryTermsMode getMode()
public void setMode(QueryTermsMode pMode)
pMode - the modepublic int getTotalDocs()
public void setTotalDocs(int totalDocs)
totalDocs - Total documents in indexpublic int getTotalTerms()
public void setTotalTerms(int totalTerms)
totalTerms - Total index termspublic int getIndexSize()
public void setIndexSize(int indexSize)
indexSize - Total index term frequencypublic 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.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
protected void getBodyXML(java.lang.StringBuilder sb)
throws atg.search.routing.command.IncompleteCommandException
getBodyXML in class atg.search.routing.command.SearchXMLObjectatg.search.routing.command.IncompleteCommandException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||