Interface JPAAccessFactory
public interface JPAAccessFactory
Factory interface for creating
- JPA EDM Model view
- JPA Processor
-
Method Summary
Modifier and TypeMethodDescriptionThe method instantiates a JPAEdmMapping instance.getJPAEdmMappingModelAccess(ODataJPAContext oDataJPAContext) The method returns an instance of JPA EDM mapping model access based on OData JPA context.getJPAEdmModelView(ODataJPAContext oDataJPAContext) The method returns an instance of JPA EDM model view based on OData JPA Context.getJPAProcessor(ODataJPAContext oDataJPAContext) The method returns an instance of JPA processor based on OData JPA Context.
-
Method Details
-
getJPAEdmModelView
The method returns an instance of JPA EDM model view based on OData JPA Context. The JPA EDM model view thus returned can be used for building EDM models from Java persistence models.- Parameters:
oDataJPAContext- a non null instance ofODataJPAContext- Returns:
- an instance of type
JPAEdmModelView
-
getJPAProcessor
The method returns an instance of JPA processor based on OData JPA Context. The JPA Processor thus returned can be used for building and processing JPQL statements.- Parameters:
oDataJPAContext- a non null instance ofODataJPAContext- Returns:
- an instance of type
JPAProcessor
-
getJPAEdmMappingModelAccess
The method returns an instance of JPA EDM mapping model access based on OData JPA context. The instance thus returned can be used for accessing the mapping details maintained for an OData service- Parameters:
oDataJPAContext- a non null instance ofODataJPAContext- Returns:
- an instance of type
JPAEdmMappingModelAccess
-
getJPAEdmMappingInstance
JPAEdmMapping getJPAEdmMappingInstance()The method instantiates a JPAEdmMapping instance.- Returns:
- an instance of type
JPAEdmMapping
-