public abstract class FunctionTreeNodeAdapter extends TreeNodeAdapter
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Vector |
operands |
| Constructor and Description |
|---|
FunctionTreeNodeAdapter() |
| 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)
Numbers can't be represented by booleans so this throws an exception
|
java.util.Date |
getDate(MboRemote mbo)
Numbers can't be represented by dates so this throws an exception
|
int |
getInt(MboRemote mbo)
Numbers can't be represented by numbers so this throws an exception
|
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.
|
parentInfoString, toStringpublic java.lang.String getString(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int getInt(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getDate(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionprotected java.lang.String childrenInfoString()
TreeNodeAdapter
Note there is no new line character after the last child.
childrenInfoString in class TreeNodeAdapterpublic int getNodeDataType()
TreeNodepublic int getNodeDataType(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNodeAdaptergetNodeDataType in interface TreeNodegetNodeDataType in class TreeNodeAdapterMXExceptionjava.rmi.RemoteExceptionpublic void setOperands(MboRemote mbo, java.util.Vector operands) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteException