atg.search.routing.command.search
Class LogicTree

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

public class LogicTree
extends java.lang.Object
implements java.io.Serializable

custom query logic tree

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
LogicTree()
           
LogicTree(java.util.List logicNodes)
           
 
Method Summary
 java.util.List getLogicNodes()
          Returns a list of LogicNodes
 java.lang.String getXml()
           
 void setLogicNodes(java.util.List logicNodes)
          Sets a list of LogicNodes
 void setXml(java.lang.String xml)
          Sets logic tree xml.
 java.lang.String toString()
           
 java.lang.String toXML()
          Generates logcTree xml
static LogicTree valueOf(java.lang.String pXml)
          Converts XML into a new instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

LogicTree

public LogicTree(java.util.List logicNodes)
Parameters:
logicNodes -

LogicTree

public LogicTree()
Method Detail

getLogicNodes

public java.util.List getLogicNodes()
Returns a list of LogicNodes

Returns:
list of LogicNodes

setLogicNodes

public void setLogicNodes(java.util.List logicNodes)
Sets a list of LogicNodes

Parameters:
logicNodes - list of LogicNodes

getXml

public java.lang.String getXml()
Returns:
XML that overrides everything else

setXml

public void setXml(java.lang.String xml)
Sets logic tree xml. This overrides all other properties.

Parameters:
xml - perfect XML

valueOf

public static LogicTree valueOf(java.lang.String pXml)
Converts XML into a new instance

Parameters:
pXml - xml logic tree xml
Returns:
new LogicTree instance

toXML

public java.lang.String toXML()
Generates logcTree xml

Returns:
logic tree xml

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object