public class CustomNode extends TreeNodeAdapter
| Constructor and Description |
|---|
CustomNode(java.util.Vector operands) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
getNodeDataType(MboRemote mbo)
Helper method gets the datatype from attribute nodes when needed.
|
java.lang.String |
getString(MboRemote mbo)
Evaluates the node and returns it's value as a String.
|
void |
setOperands(MboRemote mbo,
java.util.Vector operands)
Sets the operands for custom class.
|
toStringpublic CustomNode(java.util.Vector operands)
throws ParseException
ParseExceptionpublic 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 int getNodeDataType(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeAdaptergetNodeDataType in interface TreeNodegetNodeDataType in class TreeNodeAdapterMXExceptionjava.rmi.RemoteException