public class ComparisonNode extends BooleanTreeNodeAdapter
Constructor and Description |
---|
ComparisonNode(TreeNode oper1,
java.lang.String operation,
TreeNode oper2)
Constructor takes operands
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
childrenInfoString()
Sub-classes should override this method to return the result of
toString on each child, separated by new lines.
|
boolean |
getBoolean(MboRemote mbo)
Returns the result of the comparision.
|
protected java.lang.String |
parentInfoString()
Sub-classes should override this method to create a string which
provides information for the parent node only.
|
getDate, getDouble, getInt, getNodeDataType, getString, setOperands
getNodeDataType, toString
public boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
protected java.lang.String parentInfoString()
parentInfoString
in class TreeNodeAdapter
protected java.lang.String childrenInfoString()
Note there is no new line character after the last child.
childrenInfoString
in class TreeNodeAdapter