public class UserNode extends TreeNodeAdapter
| Constructor and Description |
|---|
UserNode() |
| 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, toStringprotected java.lang.String parentInfoString()
TreeNodeAdapterparentInfoString in class TreeNodeAdapterprotected java.lang.String childrenInfoString()
TreeNodeAdapter
Note there is no new line character after the last child.
childrenInfoString in class TreeNodeAdapterpublic boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getString(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteExceptionpublic double getDouble(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteExceptionpublic int getInt(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getDate(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteExceptionpublic int getNodeDataType()
TreeNodepublic void setOperands(MboRemote mbo, java.util.Vector operands) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteException