public class QueryRule
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 |
---|
QueryRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pObject) |
protected static QueryRule |
fromXmlParser(atg.search.routing.utils.SearchMessageNode xml) |
protected void |
getBodyXML(java.lang.StringBuilder sb)
Override to provide the body of the xml.
|
java.util.List<QueryRuleOperation> |
getOperations()
Sets the list of
QueryRuleOperation |
java.lang.String |
getRequestTag()
Gets the xml element tag used in the request
|
int |
hashCode() |
void |
setOperations(java.util.List<QueryRuleOperation> operations)
Returns the list of
QueryRuleOperation |
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getAttributeXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
public static final java.lang.String CLASS_VERSION
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setOperations(java.util.List<QueryRuleOperation> operations)
QueryRuleOperation
operations
- List of QueryRuleOperation
public java.util.List<QueryRuleOperation> getOperations()
QueryRuleOperation
QueryRuleOperation
protected static QueryRule fromXmlParser(atg.search.routing.utils.SearchMessageNode xml)
public java.lang.String getRequestTag()
getRequestTag
in class atg.search.routing.command.SearchXMLObject
protected 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