atg.search.routing.command.search
Class QueryRuleOperation

java.lang.Object
  extended by atg.search.routing.command.SearchXMLObject
      extended by atg.search.routing.command.search.QueryRuleOperation
All Implemented Interfaces:
java.io.Serializable

public class QueryRuleOperation
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable

This is a query rule operation, part of a QueryRule.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
QueryRuleOperation()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected  void getAttributeXML(java.lang.StringBuilder sb)
           
protected  void getBodyXML(java.lang.StringBuilder sb)
           
 java.lang.String getId()
          Returns the internal rule Id
 java.util.List<java.lang.String> getItems()
          Returns the List of Strings that are items
 java.lang.String getRequestTag()
           
 java.lang.String getRule()
          Returns the rule name
 void setId(java.lang.String pId)
          Sets the internal rule Id
 void setItems(java.util.List<java.lang.String> pItems)
          Sets the List of Strings that are items
 void setRule(java.lang.String pRule)
          Sets the rule name
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

QueryRuleOperation

public QueryRuleOperation()
Method Detail

equals

public boolean equals(java.lang.Object pObject)
Overrides:
equals in class java.lang.Object

getRule

public java.lang.String getRule()
Returns the rule name

Returns:
rule name

setRule

public void setRule(java.lang.String pRule)
Sets the rule name

Parameters:
pRule - rule name

getId

public java.lang.String getId()
Returns the internal rule Id

Returns:
internal rule Id

setId

public void setId(java.lang.String pId)
Sets the internal rule Id

Parameters:
pId - internal rule id

setItems

public void setItems(java.util.List<java.lang.String> pItems)
Sets the List of Strings that are items

Parameters:
pItems - List of Strings that are items

getItems

public java.util.List<java.lang.String> getItems()
Returns the List of Strings that are items

Returns:
List of Strings that are items

getRequestTag

public java.lang.String getRequestTag()
Specified by:
getRequestTag in class atg.search.routing.command.SearchXMLObject

getBodyXML

protected void getBodyXML(java.lang.StringBuilder sb)
                   throws atg.search.routing.command.IncompleteCommandException
Overrides:
getBodyXML in class atg.search.routing.command.SearchXMLObject
Throws:
atg.search.routing.command.IncompleteCommandException

getAttributeXML

protected void getAttributeXML(java.lang.StringBuilder sb)
                        throws atg.search.routing.command.IncompleteCommandException
Overrides:
getAttributeXML in class atg.search.routing.command.SearchXMLObject
Throws:
atg.search.routing.command.IncompleteCommandException