Class RangeVariableDeclarationStateObject

  • All Implemented Interfaces:
    StateObject, VariableDeclarationStateObject

    public class RangeVariableDeclarationStateObject
    extends AbstractRangeVariableDeclarationStateObject
    Range variable declarations allow the developer to designate a "root" for objects which may not be reachable by navigation. In order to select values by comparing more than one instance of an entity abstract schema type, more than one identification variable ranging over the abstract schema type is needed in the FROM clause.
    BNF: range_variable_declaration ::= abstract_schema_name [AS] identification_variable

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

      • RangeVariableDeclarationStateObject

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

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

        public RangeVariableDeclarationStateObject​(IdentificationVariableDeclarationStateObject parent,
                                                   String entityName)
        Creates a new RangeVariableDeclarationStateObject.
        Parameters:
        parent - The parent of this state object, which cannot be null
        entityName - The name of the abstract schema, which is the name of the entity
        Throws:
        NullPointerException - The given parent cannot be null