Class BasicRefactoringTool.JavaQuery
java.lang.Object
org.eclipse.persistence.jpa.jpql.tools.BasicRefactoringTool.JavaQuery
- All Implemented Interfaces:
- IQuery
- Enclosing class:
- BasicRefactoringTool
A simple implementation of 
IQuery.- 
Constructor SummaryConstructorsConstructorDescriptionJavaQuery(IManagedTypeProvider provider, CharSequence jpqlQuery) Creates a newJavaQuery.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the string representation of the JPQL query.Retrieves the provider of managed types.voidsetExpression(CharSequence jpqlQuery) Sets the string representation of the JPQL query.toString()
- 
Constructor Details- 
JavaQueryCreates a newJavaQuery.- Parameters:
- provider- The provider of JPA managed types
- jpqlQuery- The string representation of the JPQL query
 
 
- 
- 
Method Details- 
getExpressionDescription copied from interface:IQueryReturns the string representation of the JPQL query.- Specified by:
- getExpressionin interface- IQuery
- Returns:
- A non-nullstring representation of the JPQL query
 
- 
getProviderDescription copied from interface:IQueryRetrieves the provider of managed types.- Specified by:
- getProviderin interface- IQuery
- Returns:
- The object that has access to the application's managed types.
 
- 
setExpressionSets the string representation of the JPQL query.- Parameters:
- jpqlQuery- The string representation of the JPQL query
 
- 
toString
 
-