quadbase.common.util.internal
Class XMLOperatorNode
java.lang.Object
|
+--quadbase.common.util.internal.XMLDefaultTreeNode
|
+--quadbase.common.util.internal.XMLOperatorNode
- All Implemented Interfaces:
- java.lang.Cloneable, XMLConditionType
- public class XMLOperatorNode
- extends XMLDefaultTreeNode
|
Field Summary |
static int |
AND
|
static int |
OR
|
| Methods inherited from class quadbase.common.util.internal.XMLDefaultTreeNode |
add, children, clone, getAllowsChildren, getChildAt, getChildCount, getFirstChild, getIndex, getLastChild, getParent, getUserObject, insert, isLeaf, isNodeChild, isRoot, remove, remove, removeAllChildren, removeFromParent, setParent, setUserObject, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AND
public static final int AND
OR
public static final int OR
XMLOperatorNode
public XMLOperatorNode(java.lang.String name)
XMLOperatorNode
public XMLOperatorNode(java.lang.String name,
int op)
getName
public java.lang.String getName()
- Description copied from class:
XMLDefaultTreeNode
- Returns this node's user object.
- Overrides:
getName in class XMLDefaultTreeNode
- Following copied from class:
quadbase.common.util.internal.XMLDefaultTreeNode
- Returns:
- the Object stored at this node by the user
- See Also:
XMLDefaultTreeNode.setUserObject(java.lang.Object),
XMLDefaultTreeNode.toString()
setName
public void setName(java.lang.String name)
- Description copied from class:
XMLDefaultTreeNode
- Sets the user object for this node to
userObject.
- Overrides:
setName in class XMLDefaultTreeNode
- Following copied from class:
quadbase.common.util.internal.XMLDefaultTreeNode
- Parameters:
userObject - the Object that constitutes this node's
user-specified data- See Also:
XMLDefaultTreeNode.getName(),
XMLDefaultTreeNode.toString()
getOp
public int getOp()
setOp
public void setOp(int opType)
execute
public boolean execute()
- Overrides:
execute in class XMLDefaultTreeNode
isExecutable
public boolean isExecutable()
throws java.lang.Exception
- Overrides:
isExecutable in class XMLDefaultTreeNode
getField
public XMLFieldInfo getField(java.lang.String paramName)
- Overrides:
getField in class XMLDefaultTreeNode