public class LiteralNode extends TreeNodeAdapter
| Constructor and Description |
|---|
LiteralNode(double value)
Constructor takes number literal
|
LiteralNode(java.lang.String value)
Constructor takes String literal
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(MboRemote mbo)
Value can't be a boolean.
|
java.util.Date |
getDate(MboRemote mbo)
Value can't be a Date/Time.
|
double |
getDouble(MboRemote mbo)
Returns the value of the attribute as a double.
|
int |
getInt(MboRemote mbo)
Returns the value of the attribute as an integer.
|
int |
getNodeDataType()
The data type of this node depends on the operation & maybe the types of the operands.
|
java.lang.String |
getString(MboRemote mbo)
Returns the value of the attribute as a String.
|
void |
setOperands(MboRemote mbo,
java.util.Vector operands)
Sets the operands for custom class.
|
getNodeDataType, toStringpublic LiteralNode(java.lang.String value)
public LiteralNode(double value)
public boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.util.Date getDate(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic java.lang.String getString(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic double getDouble(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int getInt(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int getNodeDataType()
public void setOperands(MboRemote mbo, java.util.Vector operands) throws MXException, java.rmi.RemoteException
TreeNodeMXExceptionjava.rmi.RemoteException