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 Summary
Modifier and TypeMethodDescriptionGets the metamodeldefault NamedQueryManager
GetsNamedQueryManager
for this persistence unit.default ResultSetMappingManager
Gets the SPARQL result set mapping manager (ResultSetMappingManager
) for this persistence unit.boolean
isEntityType
(Class<?> cls) Checks whether the specified class is an entity type.
-
Method Details
-
getMetamodel
MetamodelImpl getMetamodel()Gets the metamodel- Returns:
- Metamodel
-
isEntityType
Checks whether the specified class is an entity type.- Parameters:
cls
- The class to check- Returns:
- Whether type is managed
-
getNamedQueryManager
GetsNamedQueryManager
for this persistence unit.- Returns:
NamedQueryManager
-
getResultSetMappingManager
Gets the SPARQL result set mapping manager (ResultSetMappingManager
) for this persistence unit.- Returns:
ResultSetMappingManager
-