public class NegativeNode extends TreeNodeAdapter
Constructor and Description |
---|
NegativeNode(TreeNode operand)
Constructor takes operand
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(MboRemote mbo)
This node cannot be a boolean.
|
java.util.Date |
getDate(MboRemote mbo)
This node cannot be a date.
|
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()
The data type of this node depends on the operation & maybe the types of the operands.
|
java.lang.String |
getString(MboRemote mbo)
This node cannot be a string.
|
void |
setOperands(MboRemote mbo,
java.util.Vector operands)
Sets the operands for custom class.
|
getNodeDataType, toString
public NegativeNode(TreeNode operand)
public boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.util.Date getDate(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public java.lang.String getString(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public double getDouble(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getInt(MboRemote mbo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int getNodeDataType()
public void setOperands(MboRemote mbo, java.util.Vector operands) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException