public abstract class EncapsulatedIdentificationVariableExpressionStateObject extends AbstractSingleEncapsulatedExpressionStateObject
<identifier>(identification_variable)EncapsulatedIdentificationVariableExpression| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IDENTIFICATION_VARIABLE_PROPERTY
Notifies the identification variable property has changed.
|
STATE_OBJECT_PROPERTY| Modifier and Type | Method and Description |
|---|---|
EncapsulatedIdentificationVariableExpression |
getExpression()
Returns the actual parsed object if this
StateObject representation of the JPQL query
was created by parsing an existing JPQL query. |
java.lang.String |
getIdentificationVariable()
Returns the identification variable.
|
IManagedType |
getManagedType()
Returns the
IManagedType associated with the field handled by this object. |
IdentificationVariableStateObject |
getStateObject()
Returns the encapsulated
StateObject. |
IType |
getType()
Returns the
IType of the field handled by this object. |
ITypeDeclaration |
getTypeDeclaration()
Returns the
ITypeDeclaration of the field handled by this object. |
boolean |
hasIdentificationVariable()
Determines whether the identification variable has been defined or not.
|
void |
setIdentificationVariable(java.lang.String identificationVariable)
Sets the identification variable of this encapsulated expression.
|
hasStateObject, isEquivalent, parsegetIdentifieraddPropertyChangeListener, children, decorate, equals, findIdentificationVariable, getDeclaration, getDecorator, getGrammar, getManagedTypeProvider, getParent, getQueryBuilder, getRoot, getType, getType, getTypeHelper, getTypeRepository, hashCode, isDecorated, removePropertyChangeListener, setExpression, setParent, toString, toString, toTextacceptpublic static final java.lang.String IDENTIFICATION_VARIABLE_PROPERTY
public EncapsulatedIdentificationVariableExpression getExpression()
StateObject representation of the JPQL query
was created by parsing an existing JPQL query.getExpression in interface StateObjectgetExpression in class AbstractSingleEncapsulatedExpressionStateObjectStateObject
or null when the JPQL query is manually created (i.e. not from a string)public java.lang.String getIdentificationVariable()
public IManagedType getManagedType()
IManagedType associated with the field handled by this object. If this
object does not handle a field that has a IManagedType, then null should
be returned.
For example: "SELECT e FROM Employee e", the object for e
would be returning the IManagedType for Employee.
IManagedType, if it could be resolved; null otherwisepublic IdentificationVariableStateObject getStateObject()
StateObject.getStateObject in class AbstractSingleEncapsulatedExpressionStateObjectStateObjectpublic IType getType()
IType of the field handled by this object.IType of the identification variable or the IType for
IType.UNRESOLVABLE_TYPE if it could not be resolvedpublic ITypeDeclaration getTypeDeclaration()
ITypeDeclaration of the field handled by this object.ITypeDeclaration that was resolved by this object or the ITypeDeclaration for IType.UNRESOLVABLE_TYPE if it could not be resolvedpublic boolean hasIdentificationVariable()
true if the identification variable has been defined;
false otherwisepublic void setIdentificationVariable(java.lang.String identificationVariable)
identificationVariable - The name of the identification variableEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference