本文整理汇总了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();