public class DateNode extends TreeNodeAdapter
Constructor and Description |
---|
DateNode(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.
|
java.lang.String |
getString(MboRemote mbo)
Evaluates the node and returns it's value as a String.
|
void |
setDateOnly(boolean dateOnly) |
void |
setOperands(MboRemote mbo,
java.util.Vector operands)
Sets the operands for custom class.
|
getNodeDataType, toString
public DateNode(java.util.Vector operands) throws ParseException
ParseException
public boolean getBoolean(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException
public java.lang.String getString(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException
public double getDouble(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException
public int getInt(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException
public java.util.Date getDate(MboRemote mbo) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException
public int getNodeDataType()
TreeNode
public void setOperands(MboRemote mbo, java.util.Vector operands) throws MXException, java.rmi.RemoteException
TreeNode
MXException
java.rmi.RemoteException
public void setDateOnly(boolean dateOnly)