public interface JPAEdmMappingModelAccess
JPAEdmMappingModel
Modifier and Type | Method and Description |
---|---|
boolean |
checkExclusionOfJPAAttributeType(String jpaEntityTypeName,
String jpaAttributeName)
The method returns whether the JPA Attribute should be excluded from EDM
Entity Type
|
boolean |
checkExclusionOfJPAEmbeddableAttributeType(String jpaEmbeddableTypeName,
String jpaAttributeName)
The method returns whether the JPA Embeddable Attribute Type should be
excluded from EDM model
|
boolean |
checkExclusionOfJPAEmbeddableType(String jpaEmbeddableTypeName)
The method returns whether the JPA Embeddable Type should be excluded
from EDM model
|
boolean |
checkExclusionOfJPAEntityType(String jpaEntityTypeName)
The method returns whether the JPA Entity should be excluded from EDM
model
|
JPAEdmMappingModel |
getJPAEdmMappingModel()
The method returns a JPA EDM mapping model Java object.
|
boolean |
isMappingModelExists()
The method returns if there exists a mapping model.
|
void |
loadMappingModel()
The method searches and loads the mapping model stored in <file>.xml
file into the java object
JPAEdmMappingModel . |
String |
mapJPAAttribute(String jpaEntityTypeName,
String jpaAttributeName)
The method returns EDM property name for the Java persistence entity
attribute name.
|
String |
mapJPAEmbeddableType(String jpaEmbeddableTypeName)
The method returns EDM complex type name for the Java embeddable type
name.
|
String |
mapJPAEmbeddableTypeAttribute(String jpaEmbeddableTypeName,
String jpaAttributeName)
The method returns EDM property name for the Java persistence embeddable
type's attribute name.
|
String |
mapJPAEntitySet(String jpaEntityTypeName)
The method returns EDM entity set name for the Java persistence entity
type name
|
String |
mapJPAEntityType(String jpaEntityTypeName)
The method returns EDM entity type name for the Java persistence entity
type name
|
String |
mapJPAPersistenceUnit(String persistenceUnitName)
The method returns EDM Schema namespace for the persistence unit name
|
String |
mapJPARelationship(String jpaEntityTypeName,
String jpaRelationshipName)
The method returns EDM navigation property name for the Java persistence
entity relationship name.
|
void loadMappingModel()
JPAEdmMappingModel
. The
name of the file is set into ODataJPAContext method.boolean isMappingModelExists()
JPAEdmMappingModel getJPAEdmMappingModel()
JPAEdmMappingModel
String mapJPAPersistenceUnit(String persistenceUnitName)
persistenceUnitName
- is the Java persistence unit nameString mapJPAEntityType(String jpaEntityTypeName)
jpaEntityTypeName
- is the Java persistence entity type nameString mapJPAEntitySet(String jpaEntityTypeName)
jpaEntityTypeName
- is the Java persistence entity type nameString mapJPAAttribute(String jpaEntityTypeName, String jpaAttributeName)
jpaEntityTypeName
- is the Java persistence entity type namejpaAttributeName
- is the Java persistence attribute nameString mapJPARelationship(String jpaEntityTypeName, String jpaRelationshipName)
jpaEntityTypeName
- is the Java persistence entity type namejpaRelationshipName
- is the Java persistence relationship nameString mapJPAEmbeddableType(String jpaEmbeddableTypeName)
jpaEmbeddableTypeName
- is the Java persistence embeddable type nameString mapJPAEmbeddableTypeAttribute(String jpaEmbeddableTypeName, String jpaAttributeName)
jpaEmbeddableTypeName
- is the Java persistencejpaAttributeName
- is the Java persistence attribute nameboolean checkExclusionOfJPAEntityType(String jpaEntityTypeName)
jpaEntityTypeName
- is the name of JPA Entity Typeboolean checkExclusionOfJPAAttributeType(String jpaEntityTypeName, String jpaAttributeName)
jpaEntityTypeName
- is the name of JPA Entity TypejpaAttributeName
- is the name of JPA attributeboolean checkExclusionOfJPAEmbeddableType(String jpaEmbeddableTypeName)
jpaEmbeddableTypeName
- is the name of JPA Embeddable Typeboolean checkExclusionOfJPAEmbeddableAttributeType(String jpaEmbeddableTypeName, String jpaAttributeName)
jpaEmbeddableTypeName
- is the name of JPA Embeddable Attribute TypejpaAttributeName
- is the name of JPA Attribute nameCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.