Class LogicalExpressionStateObject

All Implemented Interfaces:
StateObject
Direct Known Subclasses:
AndExpressionStateObject, OrExpressionStateObject

public abstract class LogicalExpressionStateObject extends CompoundExpressionStateObject
This expression represents a logical expression, which means the first and second expressions are aggregated with either the AND or the OR operator.
Since:
2.4
Version:
2.4
See Also:
  • Constructor Details

    • LogicalExpressionStateObject

      protected LogicalExpressionStateObject(StateObject parent)
      Creates a new LogicalExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      Throws:
      NullPointerException - The given parent cannot be null
    • LogicalExpressionStateObject

      protected LogicalExpressionStateObject(StateObject parent, StateObject leftStateObject, StateObject rightStateObject)
      Creates a new LogicalExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      leftStateObject - The StateObject representing the left expression
      rightStateObject - The StateObject representing the right expression
      Throws:
      NullPointerException - The given parent cannot be null
    • LogicalExpressionStateObject

      protected LogicalExpressionStateObject(StateObject parent, String leftJpqlFragment, String rightJpqlFragment)
      Creates a new LogicalExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      leftJpqlFragment - The string representation of the left expression to parse and to convert into a StateObject
      rightJpqlFragment - The string representation of the right expression to parse and to convert into a StateObject
      Throws:
      NullPointerException - The given parent cannot be null
  • Method Details