public class Rule
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 |
---|
Rule() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static Rule |
fromXmlParser(atg.search.routing.utils.SearchMessageNode pXml) |
protected void |
getAttributeXML(java.lang.StringBuilder sb) |
protected void |
getBodyXML(java.lang.StringBuilder sb) |
java.util.List<ExcludedDocument> |
getDocuments()
Returns the list of excluded or positioned docs
|
int |
getId()
Returns the id of rule
|
java.lang.String |
getName()
Returns the name of rule
|
java.lang.String |
getRequestTag() |
int |
getTotal()
Returns the total for rule
|
int |
hashCode() |
void |
setDocuments(java.util.List<ExcludedDocument> pDocuments)
Sets list of excluded or positioned docs
|
void |
setId(int pId)
Sets the id of rule
|
void |
setName(java.lang.String pName)
Sets the name of rule
|
void |
setTotal(int pTotal)
Sets the total for rule
|
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 java.lang.String getName()
public void setName(java.lang.String pName)
pName
- the name of rulepublic int getId()
public void setId(int pId)
pId
- the id of rulepublic int getTotal()
public void setTotal(int pTotal)
pTotal
- total for rulepublic java.util.List<ExcludedDocument> getDocuments()
public void setDocuments(java.util.List<ExcludedDocument> pDocuments)
pDocuments
- list of excluded or positioned docsprotected static Rule 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
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