|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JPAEdmEntityTypeView
A view on Java Persistence entity types and EDM entity types. Java persistence entity types are converted into EDM entity types.
The implementation of the view provides access to EDM entity types for the given JPA EDM model. The view acts as a container for consistent list of EDM entity types. An EDM entity type is said to be consistent only if it has at least one consistent EDM property and at least one consistent EDM key.
JPAEdmPropertyView
,
JPAEdmKeyView
,
JPAEdmNavigationPropertyView
Method Summary | |
---|---|
List<EntityType> |
getConsistentEdmEntityTypes()
The method returns a consistent list of EDM entity types for a given java persistence meta model. |
EntityType |
getEdmEntityType()
The method returns an EDM entity currently being processed. |
javax.persistence.metamodel.EntityType<?> |
getJPAEntityType()
The method returns java persistence Entity type currently being processed. |
EntityType |
searchEdmEntityType(String jpaEntityTypeName)
The method searches in the consistent list of EDM entity types for the given EDM entity type's name. |
Methods inherited from interface org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmBaseView |
---|
clean, getBuilder, getJPAEdmExtension, getJPAEdmMappingModelAccess, getJPAMetaModel, getpUnitName, isConsistent, isDefaultNamingSkipped |
Method Detail |
---|
EntityType getEdmEntityType()
EntityType
javax.persistence.metamodel.EntityType<?> getJPAEntityType()
EntityType
List<EntityType> getConsistentEdmEntityTypes()
EntityType
EntityType searchEdmEntityType(String jpaEntityTypeName)
jpaEntityTypeName
- is the name of EDM entity type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |