DeleteStatementStateObject, UpdateStatementStateObject
| Modifier and Type | Field and Description |
|---|---|
| private AbstractModifyClauseStateObject | modifyClause
The state object representing the modify clause. |
| public static final String | WHERE_CLAUSE_PROPERTY
Notify the state object representing the |
| private WhereClauseStateObject | whereClause
The state object representing the |
| Access | Constructor and Description |
|---|---|
| protected | AbstractModifyStatementStateObject(JPQLQueryStateObject
The parent of this state object, which cannot be parent)nullCreates 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 WhereClauseStateObject | |
| protected abstract AbstractModifyClauseStateObject | Returns: The modify clause part of this modify statementCreates the actual |
| 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 AbstractModifyClauseStateObject | Returns: The state object representing the modify clause part of the modify statement, which is nevernullReturns the state object representing the modify clause part of the modify statement. |
| public JPQLQueryStateObject | getParent()
Overrides org. Implements org. StateObject.
|
| public RangeVariableDeclarationStateObject | |
| public WhereClauseStateObject | Returns: Either the actual state object representing theWHERE clause or
the null state object since null is never returnedReturns the state object representing the |
| public boolean | Returns: Either the actual state object representing theWHERE clause or
null if it's not presentReturns the state object representing the |
| 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 | |
| public void | setConditionalStateObject(StateObject
The new conditional expression conditionalStateObject)Sets the given |
| 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. |
| private void | |
| public void | |
| 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.
|
| modifyClause | back to summary |
|---|---|
| private AbstractModifyClauseStateObject modifyClause The state object representing the modify clause. | |
| WHERE_CLAUSE_PROPERTY | back to summary |
|---|---|
| public static final String WHERE_CLAUSE_PROPERTY Notify the state object representing the | |
| whereClause | back to summary |
|---|---|
| private WhereClauseStateObject whereClause The state object representing the | |
| AbstractModifyStatementStateObject | back to summary |
|---|---|
| protected AbstractModifyStatementStateObject(JPQLQueryStateObject parent) Creates a new
| |
| addChildren | back to summary |
|---|---|
| protected void addChildren(List<StateObject> children) Overrides org. Doc from org. Adds the children of this
| |
| addWhereClause | back to summary |
|---|---|
| public WhereClauseStateObject addWhereClause() Adds the
| |
| buildModifyClause | back to summary |
|---|---|
| protected abstract AbstractModifyClauseStateObject buildModifyClause() Creates the actual
| |
| 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
| |
| getModifyClause | back to summary |
|---|---|
| public AbstractModifyClauseStateObject getModifyClause() Returns the state object representing the modify clause part of the modify statement.
| |
| getParent | back to summary |
|---|---|
| public JPQLQueryStateObject getParent() Overrides org. Implements org. Doc from org. Returns the parent of this
| |
| getRangeVariableDeclaration | back to summary |
|---|---|
| public RangeVariableDeclarationStateObject getRangeVariableDeclaration() Returns the
| |
| getWhereClause | back to summary |
|---|---|
| public WhereClauseStateObject getWhereClause() Returns the state object representing the
| |
| hasWhereClause | back to summary |
|---|---|
| public boolean hasWhereClause() Returns the state object representing the
| |
| 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
| |
| removeWhereClause | back to summary |
|---|---|
| public void removeWhereClause() Removes the | |
| setConditionalStateObject | back to summary |
|---|---|
| public void setConditionalStateObject(StateObject conditionalStateObject) Sets 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.
| |
| setWhereClause | back to summary |
|---|---|
| private void setWhereClause(WhereClauseStateObject whereClause) | |
| toggleWhereClause | back to summary |
|---|---|
| public void toggleWhereClause() Either adds or removes the state object representing the | |
| toTextInternal | back to summary |
|---|---|
| protected void toTextInternal(Appendable writer) throws IOException Implements abstract org. Doc from org. Prints out a string representation of this
| |