Package org.apache.openjpa.kernel.exps
Interface Resolver
- 
- All Known Implementing Classes:
- MetamodelImpl
 
 public interface ResolverA Resolver is used to resolve listeners and class or entity names that appear in a query.- Author:
- Abe White
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ClassclassForName(java.lang.String name, java.lang.String[] imports)Resolve the type represented by the given class name.AggregateListenergetAggregateListener(java.lang.String tag)Return the function listener for the given tag, or null if none.OpenJPAConfigurationgetConfiguration()Return the OpenJPA configuration.FilterListenergetFilterListener(java.lang.String tag)Return the filter listener for the given tag, or null if none.QueryContextgetQueryContext()TheQueryContextfor which this resolver was created
 
- 
- 
- 
Method Detail- 
classForNamejava.lang.Class classForName(java.lang.String name, java.lang.String[] imports)Resolve the type represented by the given class name. This will test the type against the namespace of the Query and the declared imports, and will properly handle primitives and java.lang types as well. Returns null if the name does not match a known type.
 - 
getFilterListenerFilterListener getFilterListener(java.lang.String tag) Return the filter listener for the given tag, or null if none.
 - 
getAggregateListenerAggregateListener getAggregateListener(java.lang.String tag) Return the function listener for the given tag, or null if none.
 - 
getConfigurationOpenJPAConfiguration getConfiguration() Return the OpenJPA configuration.
 - 
getQueryContextQueryContext getQueryContext() TheQueryContextfor which this resolver was created- Since:
- 1.1.0
 
 
- 
 
-