org.odata4j.producer.jpa
Class JPAEdmGenerator
java.lang.Object
org.odata4j.producer.jpa.JPAEdmGenerator
- Direct Known Subclasses:
- EclipseLinkJPAEdmGenerator
public class JPAEdmGenerator
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAEdmGenerator
public JPAEdmGenerator()
buildEdm
public EdmDataServices buildEdm(EntityManagerFactory emf,
String namespace)
getAssociationName
protected static String getAssociationName(List<EdmAssociation> associations,
EdmEntityType fromEntityType,
EdmEntityType toEntityType)
getEntitySetName
public static <X> String getEntitySetName(EntityType<X> et)
getIdAttribute
public static <X> SingularAttribute<? super X,?> getIdAttribute(EntityType<X> et)
getProperties
protected List<EdmProperty> getProperties(String modelNamespace,
ManagedType<?> et)
getTemporalType
protected TemporalType getTemporalType(SingularAttribute<?,?> sa)
toEdmProperty
protected EdmProperty toEdmProperty(String modelNamespace,
SingularAttribute<?,?> sa)
toEdmType
protected EdmType toEdmType(SingularAttribute<?,?> sa)
http://odata4j.org