Class BoolExpr

  • All Implemented Interfaces:
    java.lang.Cloneable
    Direct Known Subclasses:
    ExtBoolExpr

    public class BoolExpr
    extends java.lang.Object
    implements java.lang.Cloneable
    Represents a boolean condition.
    Author:
    klausj
    • Field Detail

      • EQUAL

        public static java.lang.String EQUAL
      • NOT_EQUAL

        public static java.lang.String NOT_EQUAL
      • AND

        public static java.lang.String AND
      • OR

        public static java.lang.String OR
      • operand0

        protected java.lang.Object operand0
      • operator

        protected java.lang.Object operator
      • operand1

        protected java.lang.Object operand1
    • Constructor Detail

      • BoolExpr

        public BoolExpr()
    • Method Detail

      • getOperand0

        public java.lang.Object getOperand0()
        Returns:
        Returns the operand0.
      • setOperand0

        public void setOperand0​(java.lang.Object operand0)
        Parameters:
        operand0 - The operand0 to set.
      • getOperand1

        public java.lang.Object getOperand1()
        Returns:
        Returns the operand1.
      • setOperand1

        public void setOperand1​(java.lang.Object operand1)
        Parameters:
        operand1 - The operand1 to set.
      • getOperator

        public java.lang.Object getOperator()
        Returns:
        Returns the operator.
      • setOperator

        public void setOperator​(java.lang.Object operator)
        Parameters:
        operator - The operator to set.
      • isExpression

        public boolean isExpression()
      • getExprOperators

        public static java.lang.String[] getExprOperators()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • cloneType

        protected java.lang.Object cloneType​(java.lang.Object o)
                                      throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException