| Modifier and Type | Field and Description |
|---|---|
| private RangeVariableDeclarationStateObject | rangeVariableDeclaration
The state object defining the range variable declaration. |
| Access | Constructor and Description |
|---|---|
| protected | AbstractModifyClauseStateObject(AbstractModifyStatementStateObject
The parent of this state object parent)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addChildren(List<StateObject>
The list used to store the children children)Overrides org. StateObject to the given list.
|
| public ListIterable | declarations()
Implements org. |
| public IManagedType | findManagedType(StateObject
The stateObject)StateObject that should be an simple identification variable or
an encapsulated identification variable with the identifier KEY or
VALUEImplements org. IManagedType for the given identification variable.
|
| public String | Returns: The name of the abstract schema type for which the identification variable is ranging overReturns the abstract schema name. |
| public AbstractSchemaNameStateObject | getAbstractSchemaNameStateObject()
Returns the |
| public DeclarationStateObject | getDeclaration()
Overrides org. Implements org. |
| public IEntity | |
| public String | Returns: The identification variable nameReturns the identification variable name that is ranging over the abstract schema type. |
| public IdentificationVariableStateObject | getIdentificationVariableStateObject()
Returns the |
| public abstract String | |
| public IManagedType | getManagedType(StateObject
The stateObject)StateObject that should be an simple identification variable or
an encapsulated identification variable with the identifier KEY or
VALUEImplements org. IManagedType for the given identification variable.
|
| public AbstractModifyStatementStateObject | getParent()
Overrides org. Implements org. StateObject.
|
| public RangeVariableDeclarationStateObject | |
| public boolean | Returns: true if an identification variable is defined; false otherwiseDetermines whether an identification variable was defined. |
| protected void | initialize()
Overrides org. |
| public boolean | isEquivalent(StateObject
The stateObject)StateObject to compare its content to this oneOverrides org. Implements org. StateObject is equivalent to this one, i.e. the
information of both StateObject is the same.
|
| public void | setDeclaration(IEntity
The entity)IEntity that this clause will range overSets the abstract schema name to the given value. |
| public void | setDeclaration(IEntity
The entity, String IEntity that this clause will range overThe new identification variable identificationVariable)Sets the abstract schema name to the given value and the identification variable that will range over it. |
| public void | setDeclaration(String
The name of the abstract schema, which is the name of the entity abstractSchemaName)Sets the abstract schema name to the given value and removes the identification variable. |
| public void | setDeclaration(String
The name of the abstract schema, which is the name of the entity abstractSchemaName, String The new identification variable identificationVariable)Sets the abstract schema name to the given value and the identification variable that will range over it. |
| public void | |
| public void | setEntityName(String
The name of the entity entityName)Sets the name of the abstract schema, which is the name of the entity. |
| public void | setIdentificationVariable(String
The new identification variable identificationVariable)Sets the new identification variable that will range over the abstract schema name. |
| protected void | toTextInternal(Appendable
The writer used to print out the string representation writer)Implements abstract org. StateObject, which should not be used to
define a true string representation of a JPQL query but should be used for
debugging purposes.
|
| rangeVariableDeclaration | back to summary |
|---|---|
| private RangeVariableDeclarationStateObject rangeVariableDeclaration The state object defining the range variable declaration. | |
| AbstractModifyClauseStateObject | back to summary |
|---|---|
| protected AbstractModifyClauseStateObject(AbstractModifyStatementStateObject parent) Creates a new
| |
| addChildren | back to summary |
|---|---|
| protected void addChildren(List<StateObject> children) Overrides org. Doc from org. Adds the children of this
| |
| declarations | back to summary |
|---|---|
| public ListIterable Implements org. Doc from org. Returns the list of declarations declared in the declaration clause of the current query.
| |
| findManagedType | back to summary |
|---|---|
| public IManagedType findManagedType(StateObject stateObject) Implements org. Doc from org. Returns the
In the above query, the managed type associated with the identification variable:
| |
| getAbstractSchemaName | back to summary |
|---|---|
| public String getAbstractSchemaName() Returns the abstract schema name.
| |
| getAbstractSchemaNameStateObject | back to summary |
|---|---|
| public AbstractSchemaNameStateObject getAbstractSchemaNameStateObject() Returns the
| |
| getDeclaration | back to summary |
|---|---|
| public DeclarationStateObject getDeclaration() Overrides org. Implements org. Doc from org. Returns the declaration clause which defines the domain of the query by declaring identification variables.
| |
| getEntity | back to summary |
|---|---|
| public IEntity getEntity() Returns the actual | |
| getIdentificationVariable | back to summary |
|---|---|
| public String getIdentificationVariable() Returns the identification variable name that is ranging over the abstract schema type.
| |
| getIdentificationVariableStateObject | back to summary |
|---|---|
| public IdentificationVariableStateObject getIdentificationVariableStateObject() Returns the
| |
| getIdentifier | back to summary |
|---|---|
| public abstract String getIdentifier() Returns the JPQL identifier of this clause.
| |
| getManagedType | back to summary |
|---|---|
| public IManagedType getManagedType(StateObject stateObject) Implements org. Doc from org. Returns the
In the above query, the managed type associated with the identification variable:
| |
| getParent | back to summary |
|---|---|
| public AbstractModifyStatementStateObject getParent() Overrides org. Implements org. Doc from org. Returns the parent of this
| |
| getRangeVariableDeclaration | back to summary |
|---|---|
| public RangeVariableDeclarationStateObject getRangeVariableDeclaration() Returns the
| |
| hasIdentificationVariable | back to summary |
|---|---|
| public boolean hasIdentificationVariable() Determines whether an identification variable was defined.
| |
| initialize | back to summary |
|---|---|
| protected void initialize() Overrides org. Doc from org. Initializes this state object.
| |
| isEquivalent | back to summary |
|---|---|
| public boolean isEquivalent(StateObject stateObject) Overrides org. Implements org. Doc from org. Determines whether the given
| |
| setDeclaration | back to summary |
|---|---|
| public void setDeclaration(IEntity entity) Sets the abstract schema name to the given value. | |
| setDeclaration | back to summary |
|---|---|
| public void setDeclaration(IEntity entity, String identificationVariable) Sets the abstract schema name to the given value and the identification variable that will range over it. | |
| setDeclaration | back to summary |
|---|---|
| public void setDeclaration(String abstractSchemaName) Sets the abstract schema name to the given value and removes the identification variable.
| |
| setDeclaration | back to summary |
|---|---|
| public void setDeclaration(String abstractSchemaName, String identificationVariable) Sets the abstract schema name to the given value and the identification variable that will range over it. | |
| setEntity | back to summary |
|---|---|
| public void setEntity(IEntity entity) Sets the actual | |
| setEntityName | back to summary |
|---|---|
| public void setEntityName(String entityName) Sets the name of the abstract schema, which is the name of the entity.
| |
| setIdentificationVariable | back to summary |
|---|---|
| public void setIdentificationVariable(String identificationVariable) Sets the new identification variable that will range over the abstract schema name.
| |
| toTextInternal | back to summary |
|---|---|
| protected void toTextInternal(Appendable writer) throws IOException Implements abstract org. Doc from org. Prints out a string representation of this
| |