public class Group
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 |
---|
Group() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static Group |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml) |
protected void |
getAttributeXML(java.lang.StringBuilder sb)
Override to provide attributes.
|
protected void |
getBodyXML(java.lang.StringBuilder sb)
Override to provide the body of the xml.
|
int |
getId()
Returns the the id of the group, also its original position before sorting
|
int |
getIndex()
Returns the statement index within the document that is in this group
|
int |
getPage()
Returns the page number of group after sorting
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
float |
getScore()
Returns the group score
|
int |
getSize()
Returns the original size of the group, before perGroup settings
|
int |
getSort()
Returns the end position of group after sorting
|
DiagnosticStatus |
getStatus()
Returns the status
|
java.lang.String |
getValue()
Returns the grouping value
|
int |
hashCode() |
void |
setId(int pId)
Sets the id of the group, also its original position before sorting
|
void |
setIndex(int pIndex)
Sets the statement index within the document that is in this group
|
void |
setPage(int pPage)
Sets the page number of group after sorting
|
void |
setScore(float pScore)
Sets the group score
|
void |
setSize(int pSize)
Sets the original size of the group, before perGroup settings
|
void |
setSort(int pSort)
Sets the end position of group after sorting
|
void |
setStatus(DiagnosticStatus pStatus)
Sets the status
|
void |
setValue(java.lang.String pValue)
Sets the grouping value
|
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 DiagnosticStatus getStatus()
public void setStatus(DiagnosticStatus pStatus)
pStatus
- public int getIndex()
public void setIndex(int pIndex)
pIndex
- public int getId()
public void setId(int pId)
pId
- public int getSize()
public void setSize(int pSize)
pSize
- public int getSort()
public void setSort(int pSort)
pSort
- public float getScore()
public void setScore(float pScore)
pScore
- public int getPage()
public void setPage(int pPage)
pPage
- public java.lang.String getValue()
public void setValue(java.lang.String pValue)
pValue
- protected static Group 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
sb
- shared bufferatg.search.routing.command.IncompleteCommandException
- if required values are missingprotected void getBodyXML(java.lang.StringBuilder sb) throws atg.search.routing.command.IncompleteCommandException
getBodyXML
in class atg.search.routing.command.SearchXMLObject
sb
- shared bufferatg.search.routing.command.IncompleteCommandException