public class SuggestedCategory
extends atg.search.routing.command.SearchXMLObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
SuggestedCategory() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
int |
getId()
Returns the id
|
java.lang.String |
getLabel()
Returns the label
|
java.lang.String |
getPath()
Returns the category path
|
java.lang.String |
getRequestTag() |
int |
getScore()
Returns the score
|
int |
hashCode() |
void |
setId(int id)
Sets the id
|
void |
setLabel(java.lang.String label)
Sets the label
|
void |
setPath(java.lang.String path)
Sets the category path
|
void |
setScore(int score)
Sets the score
|
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getBodyXML, 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 java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the category pathpublic int getId()
public void setId(int id)
id
- the idpublic int getScore()
public void setScore(int score)
score
- the scorepublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the labelprotected 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
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject