Package cz.cvut.kbss.jopa.sessions
Interface MetamodelProvider
- All Known Subinterfaces:
- UnitOfWork
- All Known Implementing Classes:
- AbstractSession,- AbstractUnitOfWork,- ChangeTrackingUnitOfWork,- MetamodelImpl,- OnCommitChangePropagatingUnitOfWork,- ReadOnlyUnitOfWork,- ServerSession
public interface MetamodelProvider
- 
Method SummaryModifier and TypeMethodDescriptionGets the metamodeldefault NamedQueryManagerGetsNamedQueryManagerfor this persistence unit.default ResultSetMappingManagerGets the SPARQL result set mapping manager (ResultSetMappingManager) for this persistence unit.booleanisEntityType(Class<?> cls) Checks whether the specified class is an entity type.
- 
Method Details- 
getMetamodelMetamodelImpl getMetamodel()Gets the metamodel- Returns:
- Metamodel
 
- 
isEntityTypeChecks whether the specified class is an entity type.- Parameters:
- cls- The class to check
- Returns:
- Whether type is managed
 
- 
getNamedQueryManagerGetsNamedQueryManagerfor this persistence unit.- Returns:
- NamedQueryManager
 
- 
getResultSetMappingManagerGets the SPARQL result set mapping manager (ResultSetMappingManager) for this persistence unit.- Returns:
- ResultSetMappingManager
 
 
-