public class InternalValue extends TreeNodeAdapter implements TreeNode
Constructor and Description |
---|
InternalValue() |
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)
Evaluates the node and returns it's value as a boolean.
|
java.util.Date |
getDate(MboRemote mbo)
Evaluates the node and returns it's value as a DateTime.
|
double |
getDouble(MboRemote mbo)
Evaluates the node and returns it's value as a double.
|
int |
getInt(MboRemote mbo)
Evaluates the node and returns it's value as an integer.
|
int |
getNodeDataType()
Returns the data type of the node.
|
java.lang.String |
getString(MboRemote mbo)
Evaluates the node and returns it's value as a String.
|
protected java.lang.String |
parentInfoString()
Sub-classes should override this method to create a string which
provides information for the parent node only.
|
void |
setOperands(MboRemote mbo,
java.util.Vector operands)
Sets the operands for custom class.
|
getNodeDataType, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNodeDataType, toString
protected java.lang.String childrenInfoString()
TreeNodeAdapter
Note there is no new line character after the last child.
childrenInfoString
in class TreeNodeAdapter
protected java.lang.String parentInfoString()
TreeNodeAdapter
parentInfoString
in class TreeNodeAdapter
public boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
getBoolean
in interface TreeNode
MXException
java.rmi.RemoteException
public java.util.Date getDate(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
getDate
in interface TreeNode
MXException
java.rmi.RemoteException
public double getDouble(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
getDouble
in interface TreeNode
MXException
java.rmi.RemoteException
public int getInt(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
getInt
in interface TreeNode
MXException
java.rmi.RemoteException
public int getNodeDataType()
TreeNode
getNodeDataType
in interface TreeNode
public java.lang.String getString(MboRemote mbo) throws java.rmi.RemoteException
TreeNode
public void setOperands(MboRemote mbo, java.util.Vector operands) throws MXException, java.rmi.RemoteException
TreeNode
setOperands
in interface TreeNode
MXException
java.rmi.RemoteException