Class StateFieldPathExpression

  • All Implemented Interfaces:
    Expression

    public final class StateFieldPathExpression
    extends AbstractPathExpression
    A single_valued_association_field is designated by the name of an association-field in a one-to-one or many-to-one relationship. The type of a single_valued_association_field and thus a single_valued_association_path_expression is the abstract schema type of the related entity. A collection_valued_association_field is designated by the name of an association-field in a one-to-many or a many-to-many relationship. The type of a collection_valued_association_field is a collection of values of the abstract schema type of the related entity. An embedded_class_state_field is designated by the name of an entity-state field that corresponds to an embedded class. Navigation to a related entity results in a value of the related entity's abstract schema type.
    BNF: state_field_path_expression ::= {identification_variable | single_valued_association_path_expression}.state_field

    BNF: single_valued_association_path_expression ::= identification_variable.{single_valued_association_field.}*single_valued_association_field

    Version:
    2.4
    Author:
    Pascal Filion
    Since:
    2.3
    • Constructor Detail

      • StateFieldPathExpression

        public StateFieldPathExpression​(AbstractExpression parent,
                                        AbstractExpression expression)
        Creates a new StateFieldPathExpression.
        Parameters:
        parent - The parent of this expression
        expression - The identification variable that was already parsed, which means the beginning of the parsing should start with a dot
      • StateFieldPathExpression

        public StateFieldPathExpression​(AbstractExpression parent,
                                        java.lang.String paths)
        Creates a new StateFieldPathExpression.
        Parameters:
        parent - The parent of this expression
        paths - The path expression that is following the identification variable
      • StateFieldPathExpression

        public StateFieldPathExpression​(AbstractExpression parent,
                                        AbstractExpression expression,
                                        java.lang.String paths)
        Creates a new StateFieldPathExpression.
        Parameters:
        parent - The parent of this expression
        expression - The identification variable that was already parsed, which means the beginning of the parsing should start with a dot
        paths - The path expression that is following the identification variable