public class Categorization
extends atg.search.routing.command.SearchXMLObject
CategorizeRequest
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
Categorization() |
Modifier and Type | Method and Description |
---|---|
void |
addMatch(CategoryRuleMatch match)
Adds a match
|
boolean |
equals(java.lang.Object pObj) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
int |
getId()
Returns the topic identifier
|
java.lang.String |
getLabel()
Returns the optional display name of category
|
java.util.List<CategoryRuleMatch> |
getMatchList()
Returns matching text for a rule of this category.
|
java.lang.String |
getPath()
Returns the document set path of category
|
int |
getRelevance()
Returns the relevance score of category
|
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
int |
getScore()
Confidence score of category
|
int |
getSize()
Returns the total number of assigned index items under category and all of its descendents
|
int |
getTotalChildren()
Total number of children under category
|
int |
getWeight()
Returns the total weight of matching rules of category
|
int |
hashCode() |
void |
setId(int id)
Sets the topic identifier
|
void |
setLabel(java.lang.String label)
Returns the optional display name of category
|
void |
setMatchList(java.util.List<CategoryRuleMatch> matchList)
Sets List of
CategoryRuleMatch |
void |
setPath(java.lang.String path)
Sets document set path of category
|
void |
setRelevance(int relevance)
Sets the relevance score of category
|
void |
setScore(int score)
Sets the confidence score of category
|
void |
setSize(int size)
Sets the total number of assigned index items under category and all of its descendents
|
void |
setTotalChildren(int totalChildren)
Sets the total number of children under category
|
void |
setWeight(int weight)
Sets the total weight of matching rules of category
|
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 pObj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
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
public java.util.List<CategoryRuleMatch> getMatchList()
CategoryRuleMatch
CategoryRuleMatch
public void setMatchList(java.util.List<CategoryRuleMatch> matchList)
CategoryRuleMatch
matchList
- List of CategoryRuleMatch
public void addMatch(CategoryRuleMatch match)
match
- Matching text for a rule of this category.public java.lang.String getPath()
public void setPath(java.lang.String path)
path
- Document set path of categorypublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- Optional display name of categorypublic int getId()
public void setId(int id)
id
- Topic identifierpublic int getSize()
public void setSize(int size)
size
- Total number of assigned index items under category and all of its descendentspublic int getTotalChildren()
public void setTotalChildren(int totalChildren)
totalChildren
- Total number of children under categorypublic int getScore()
public void setScore(int score)
score
- Confidence score of categorypublic int getRelevance()
public void setRelevance(int relevance)
relevance
- Relevance score of categorypublic int getWeight()
public void setWeight(int weight)
weight
- Total weight of matching rules of categorypublic java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject