org.odata4j.producer.jpa
Class JPAContext
java.lang.Object
org.odata4j.producer.jpa.JPAContext
- All Implemented Interfaces:
- Context
public class JPAContext
- extends Object
- implements Context
Constructor Summary |
protected |
JPAContext(EdmDataServices metadata,
String entitySetName,
OEntityKey oEntityKey,
OEntity oEntity)
|
|
JPAContext(EdmDataServices metadata,
String entitySetName,
OEntityKey oEntityKey,
String navProperty,
OEntity oEntity)
|
|
JPAContext(EdmDataServices metadata,
String entitySetName,
OEntityKey oEntityKey,
String navProperty,
QueryInfo queryInfo)
|
|
JPAContext(EdmDataServices metadata,
String entitySetName,
QueryInfo queryInfo)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAContext
protected JPAContext(EdmDataServices metadata,
String entitySetName,
OEntityKey oEntityKey,
OEntity oEntity)
JPAContext
public JPAContext(EdmDataServices metadata,
String entitySetName,
OEntityKey oEntityKey,
String navProperty,
OEntity oEntity)
JPAContext
public JPAContext(EdmDataServices metadata,
String entitySetName,
OEntityKey oEntityKey,
String navProperty,
QueryInfo queryInfo)
JPAContext
public JPAContext(EdmDataServices metadata,
String entitySetName,
QueryInfo queryInfo)
getEdmPropertyBase
public EdmPropertyBase getEdmPropertyBase()
getEntity
public JPAContext.ContextEntity getEntity()
getEntityManager
public EntityManager getEntityManager()
getEntityTransaction
public EntityTransaction getEntityTransaction()
getJPQLQuery
public String getJPQLQuery()
getMetadata
public EdmDataServices getMetadata()
getNavProperty
public String getNavProperty()
getOtherEntity
public JPAContext.ContextEntity getOtherEntity()
getQueryInfo
public QueryInfo getQueryInfo()
getResponse
public BaseResponse getResponse()
getResult
public JPAResult getResult()
setEdmPropertyBase
public void setEdmPropertyBase(EdmPropertyBase edmPropertyBase)
setEntityManager
public void setEntityManager(EntityManager em)
setEntityTransaction
public void setEntityTransaction(EntityTransaction tx)
setJPQLQuery
public void setJPQLQuery(String jpqlQuery)
setResponse
public void setResponse(BaseResponse response)
setResult
public void setResult(JPAResult result)
http://odata4j.org