Class CollectionValuedPathExpressionStateObject

  • All Implemented Interfaces:
    ListHolderStateObject<java.lang.String>, StateObject

    public class CollectionValuedPathExpressionStateObject
    extends AbstractPathExpressionStateObject
    A collection-valued field is designated by the name of an association field in a one-to-many or a many-to-many relationship or by the name of an element collection field. The type of a collection-valued field is a collection of values of the abstract schema type of the related entity or element type.
    BNF: collection_valued_path_expression ::= general_identification_variable.{single_valued_object_field.}*collection_valued_field

    Version:
    2.4
    See Also:
    CollectionValuedPathExpression
    Author:
    Pascal Filion
    Since:
    2.4
    • Constructor Detail

      • CollectionValuedPathExpressionStateObject

        public CollectionValuedPathExpressionStateObject​(StateObject parent)
        Creates a new CollectionValuedPathExpressionStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        Throws:
        java.lang.NullPointerException - The given parent cannot be null
      • CollectionValuedPathExpressionStateObject

        public CollectionValuedPathExpressionStateObject​(StateObject parent,
                                                         java.lang.String path)
        Creates a new CollectionValuedPathExpressionStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        path - The collection-valued path expression
        Throws:
        java.lang.NullPointerException - The given parent cannot be null