psdi.common.parse

Class BooleanTreeNodeAdapter

    • Constructor Detail

      • BooleanTreeNodeAdapter

        public BooleanTreeNodeAdapter()
    • Method Detail

      • getString

        public java.lang.String getString(MboRemote mbo)
                                   throws MXException,
                                          java.rmi.RemoteException
        Evaluates the node and returns it's value as a String. The boolean value is converted into a Yes/No character.
        Throws:
        MXException
        java.rmi.RemoteException
      • getDouble

        public double getDouble(MboRemote mbo)
                         throws MXException,
                                java.rmi.RemoteException
        Booleans can't be represented by numbers so this throws an exception
        Throws:
        MXException
        java.rmi.RemoteException
      • getInt

        public int getInt(MboRemote mbo)
                   throws MXException,
                          java.rmi.RemoteException
        Booleans can't be represented by numbers so this throws an exception
        Throws:
        MXException
        java.rmi.RemoteException
      • getDate

        public java.util.Date getDate(MboRemote mbo)
                               throws MXException,
                                      java.rmi.RemoteException
        Booleans can't be represented by dates so this throws an exception
        Throws:
        MXException
        java.rmi.RemoteException
      • getNodeDataType

        public int getNodeDataType()
        Returns the data type of the node.
      • setOperands

        public void setOperands(MboRemote mbo,
                                java.util.Vector operands)
                         throws MXException,
                                java.rmi.RemoteException
        Description copied from interface: TreeNode
        Sets the operands for custom class.
        Throws:
        MXException
        java.rmi.RemoteException