BNF: <identifier>(identification_variable)
EncapsulatedIdentificationVariableExpression
| Modifier and Type | Field and Description |
|---|---|
| public static final String | IDENTIFICATION_VARIABLE_PROPERTY
Notifies the identification variable property has changed. |
| private String | identificationVariable
The cached identification variable that is used to make sure it's the same as the one stored
in the |
| private IManagedType | managedType
The |
| private IType | |
| private ITypeDeclaration | typeDeclaration
The cached |
| Access | Constructor and Description |
|---|---|
| protected | EncapsulatedIdentificationVariableExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| protected | EncapsulatedIdentificationVariableExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe identification variable identificationVariable)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected void | checkIntegrity()
Makes sure the cached identification variable and the one owned by |
| protected void | |
| public EncapsulatedIdentificationVariableExpression | getExpression()
Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public String | Returns: The name of the identification variableReturns the identification variable. |
| public IManagedType | |
| protected String | getQueryBNFId()
Implements abstract org. JPQLQueryBNF that will determine how to parse the encapsulated expression.
|
| public IdentificationVariableStateObject | |
| public IType | Returns: Either theIType of the identification variable or the IType for
IType#UNRESOLVABLE_TYPE if it could not be resolvedReturns the |
| public ITypeDeclaration | Returns: Either theITypeDeclaration that was resolved by this object or the ITypeDeclaration for IType#UNRESOLVABLE_TYPE if it could not be resolvedReturns the |
| public boolean | Returns: true if the identification variable has been defined;
false otherwiseDetermines whether the identification variable has been defined or not. |
| protected void | initialize()
Overrides org. |
| protected IManagedType | Returns: Either theIManagedType declared by the identification variable or null
if it could not be resolvedRetrieves the |
| protected IType | Returns: Either theIType that was resolved by this object or the IType for
IType#UNRESOLVABLE_TYPE if it could not be resolvedResolves the |
| protected ITypeDeclaration | Returns: Either theITypeDeclaration that was resolved by this object or the ITypeDeclaration for IType#UNRESOLVABLE_TYPE if it could not be resolvedResolves the |
| public void | setIdentificationVariable(String
The name of the identification variable identificationVariable)Sets the identification variable of this encapsulated expression. |
| IDENTIFICATION_VARIABLE_PROPERTY | back to summary |
|---|---|
| public static final String IDENTIFICATION_VARIABLE_PROPERTY Notifies the identification variable property has changed. | |
| identificationVariable | back to summary |
|---|---|
| private String identificationVariable The cached identification variable that is used to make sure it's the same as the one stored
in the | |
| managedType | back to summary |
|---|---|
| private IManagedType managedType The | |
| type | back to summary |
|---|---|
| private IType type The cached | |
| typeDeclaration | back to summary |
|---|---|
| private ITypeDeclaration typeDeclaration The cached | |
| EncapsulatedIdentificationVariableExpressionStateObject | back to summary |
|---|---|
| protected EncapsulatedIdentificationVariableExpressionStateObject(StateObject parent) Creates a new
| |
| EncapsulatedIdentificationVariableExpressionStateObject | back to summary |
|---|---|
| protected EncapsulatedIdentificationVariableExpressionStateObject(StateObject parent, String identificationVariable) Creates a new
| |
| checkIntegrity | back to summary |
|---|---|
| protected void checkIntegrity() Makes sure the cached identification variable and the one owned by | |
| clearResolvedObjects | back to summary |
|---|---|
| protected void clearResolvedObjects() Clears the values related to the managed type and type. | |
| getExpression | back to summary |
|---|---|
| public EncapsulatedIdentificationVariableExpression getExpression() Implements org. Doc from org. Returns the actual parsed object if this
| |
| getIdentificationVariable | back to summary |
|---|---|
| public String getIdentificationVariable() Returns the identification variable.
| |
| getManagedType | back to summary |
|---|---|
| public IManagedType getManagedType() Returns the
For example: "
| |
| getQueryBNFId | back to summary |
|---|---|
| protected String getQueryBNFId() Implements abstract org. Returns the unique identifier of the | |
| getStateObject | back to summary |
|---|---|
| public IdentificationVariableStateObject getStateObject() Returns the encapsulated
| |
| getType | back to summary |
|---|---|
| public IType getType() Returns the
| |
| getTypeDeclaration | back to summary |
|---|---|
| public ITypeDeclaration getTypeDeclaration() Returns the
| |
| hasIdentificationVariable | back to summary |
|---|---|
| public boolean hasIdentificationVariable() Determines whether the identification variable has been defined or not.
| |
| initialize | back to summary |
|---|---|
| protected void initialize() Overrides org. Doc from org. Initializes this state object.
| |
| resolveManagedType | back to summary |
|---|---|
| protected IManagedType resolveManagedType() Retrieves the
| |
| resolveType | back to summary |
|---|---|
| protected IType resolveType() Resolves the
| |
| resolveTypeDeclaration | back to summary |
|---|---|
| protected ITypeDeclaration resolveTypeDeclaration() Resolves the
| |
| setIdentificationVariable | back to summary |
|---|---|
| public void setIdentificationVariable(String identificationVariable) Sets the identification variable of this encapsulated expression.
| |