protected static class BasicRefactoringTool.JavaQuery extends java.lang.Object implements IQuery
IQuery
.Constructor and Description |
---|
JavaQuery(IManagedTypeProvider provider,
java.lang.CharSequence jpqlQuery)
Creates a new
JavaQuery . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExpression()
Returns the string representation of the JPQL query.
|
IManagedTypeProvider |
getProvider()
Retrieves the provider of managed types.
|
void |
setExpression(java.lang.CharSequence jpqlQuery)
Sets the string representation of the JPQL query.
|
java.lang.String |
toString() |
public JavaQuery(IManagedTypeProvider provider, java.lang.CharSequence jpqlQuery)
JavaQuery
.provider
- The provider of JPA managed typesjpqlQuery
- The string representation of the JPQL querypublic java.lang.String getExpression()
getExpression
in interface IQuery
null
string representation of the JPQL querypublic IManagedTypeProvider getProvider()
getProvider
in interface IQuery
public void setExpression(java.lang.CharSequence jpqlQuery)
jpqlQuery
- The string representation of the JPQL querypublic java.lang.String toString()
toString
in class java.lang.Object