Class EmptyCollectionComparisonExpressionStateObject

  • All Implemented Interfaces:
    StateObject

    public class EmptyCollectionComparisonExpressionStateObject
    extends AbstractStateObject
    This expression tests whether or not the collection designated by the collection-valued path expression is empty (i.e, has no elements).
    BNF: empty_collection_comparison_expression ::= collection_valued_path_expression IS [NOT] EMPTY

    Since:
    2.4
    Version:
    2.4
    Author:
    Pascal Filion
    See Also:
    EmptyCollectionComparisonExpression
    • Field Detail

      • NOT_PROPERTY

        public static java.lang.String NOT_PROPERTY
        Notifies the visibility of the NOT identifier has changed.
    • Constructor Detail

      • EmptyCollectionComparisonExpressionStateObject

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

        public EmptyCollectionComparisonExpressionStateObject​(StateObject parent,
                                                              boolean not,
                                                              java.lang.String path)
        Creates a new EmptyCollectionComparisonExpressionStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        not - Determines whether the NOT identifier is part of the expression or not
        path - The collection-valued path expression
        Throws:
        java.lang.NullPointerException - The given parent cannot be null
      • EmptyCollectionComparisonExpressionStateObject

        public EmptyCollectionComparisonExpressionStateObject​(StateObject parent,
                                                              java.lang.String path)
        Creates a new EmptyCollectionComparisonExpressionStateObject.
        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