Class CollectionExpressionStateObject

java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.model.query.AbstractStateObject
org.eclipse.persistence.jpa.jpql.tools.model.query.CollectionExpressionStateObject
All Implemented Interfaces:
StateObject

public final class CollectionExpressionStateObject extends AbstractStateObject
This StateObject is a temporary object used to store a list of StateObjects. Those objects are not parented. StateObjectVisitor is not aware of this object either, to visit it, the visitor will be notified via reflection, see AbstractStateObject.acceptUnknownVisitor(StateObjectVisitor).
Since:
2.4
Version:
2.4
See Also:
  • Constructor Details

    • CollectionExpressionStateObject

      public CollectionExpressionStateObject(StateObject parent, List<? extends StateObject> items)
      Creates a new CollectionExpressionStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      items - The list of children owned by this state object
      Throws:
      NullPointerException - The given parent cannot be null
  • Method Details