本文整理匯總了Java中org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension類的典型用法代碼示例。如果您正苦於以下問題:Java JPAEdmExtension類的具體用法?Java JPAEdmExtension怎麽用?Java JPAEdmExtension使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
JPAEdmExtension類屬於org.apache.olingo.odata2.jpa.processor.api.model包,在下文中一共展示了JPAEdmExtension類的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: JPAEdmMappingModelService
import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //導入依賴的package包/類
public JPAEdmMappingModelService(final ODataJPAContext ctx) {
JPAEdmExtension ext = null;
mappingModelName = ctx.getJPAEdmMappingModel();
if (mappingModelName == null) {
ext = ctx.getJPAEdmExtension();
if (ext != null) {
mappingModelStream = ext.getJPAEdmMappingModelStream();
}
}
mappingModelExists = mappingModelName != null || mappingModelStream != null;
}
示例2: getJPAEdmExtension
import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //導入依賴的package包/類
@Override
public JPAEdmExtension getJPAEdmExtension() {
return jpaEdmExtension;
}
示例3: setJPAEdmExtension
import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //導入依賴的package包/類
@Override
public void setJPAEdmExtension(final JPAEdmExtension jpaEdmExtension) {
this.jpaEdmExtension = jpaEdmExtension;
}
示例4: getJPAEdmExtension
import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //導入依賴的package包/類
@Override
public JPAEdmExtension getJPAEdmExtension() {
return null;
}
示例5: setJPAEdmExtension
import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //導入依賴的package包/類
/**
* The method sets the JPA Edm Extension instance into the context. There
* can be at most only one extension for a context. Invoking the method
* several times overwrites already set extension instance in the context.
*
* @param jpaEdmExtension
* is an instance of type {@link org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension}
*
*/
public void setJPAEdmExtension(JPAEdmExtension jpaEdmExtension);
示例6: getJPAEdmExtension
import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //導入依賴的package包/類
/**
* The method returns the JPA Edm Extension instance set into the context.
*
* @return an instance of type
* {@link org.apache.olingo.odata2.jpa.processor.api.model.mapping.JPAEmbeddableTypeMapType}
*/
public JPAEdmExtension getJPAEdmExtension();