Class ASTBitwiseXor

All Implemented Interfaces:
Serializable, Node, XMLSerializable

public class ASTBitwiseXor extends EvaluatedBitwiseNode
Bitwise exclusive disjunction (XOR or '^') operation.
Since:
3.1
See Also:
  • Constructor Details

    • ASTBitwiseXor

      public ASTBitwiseXor()
    • ASTBitwiseXor

      public ASTBitwiseXor(Object[] nodes)
    • ASTBitwiseXor

      public ASTBitwiseXor(Collection<Object> nodes)
  • Method Details

    • op

      protected long op(long result, long arg)
      Specified by:
      op in class EvaluatedBitwiseNode
    • getExpressionOperator

      protected String getExpressionOperator(int index)
      Specified by:
      getExpressionOperator in class SimpleNode
    • getType

      public int getType()
      Description copied from class: Expression
      Returns a type of expression. Most common types are defined as public static fields of this interface.
      Overrides:
      getType in class Expression
    • getEJBQLExpressionOperator

      protected String getEJBQLExpressionOperator(int index)
      Description copied from class: SimpleNode
      Returns operator for EJBQL statements, which can differ for Cayenne expression operator
      Overrides:
      getEJBQLExpressionOperator in class SimpleNode
    • shallowCopy

      public Expression shallowCopy()
      Description copied from class: Expression
      Creates a copy of this expression node, without copying children.
      Specified by:
      shallowCopy in class Expression
    • jjtClose

      public void jjtClose()
      Description copied from interface: Node
      Called after all the child nodes have been added.
      Specified by:
      jjtClose in interface Node
      Overrides:
      jjtClose in class SimpleNode