当前位置: 首页>>代码示例>>Java>>正文


Java JPAEdmExtension类代码示例

本文整理汇总了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;
}
 
开发者ID:apache,项目名称:olingo-odata2,代码行数:13,代码来源:JPAEdmMappingModelService.java

示例2: getJPAEdmExtension

import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //导入依赖的package包/类
@Override
public JPAEdmExtension getJPAEdmExtension() {
  return jpaEdmExtension;
}
 
开发者ID:apache,项目名称:olingo-odata2,代码行数:5,代码来源:JPAEdmBaseViewImpl.java

示例3: setJPAEdmExtension

import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //导入依赖的package包/类
@Override
public void setJPAEdmExtension(final JPAEdmExtension jpaEdmExtension) {
  this.jpaEdmExtension = jpaEdmExtension;

}
 
开发者ID:apache,项目名称:olingo-odata2,代码行数:6,代码来源:ODataJPAContextImpl.java

示例4: getJPAEdmExtension

import org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension; //导入依赖的package包/类
@Override
public JPAEdmExtension getJPAEdmExtension() {
  return null;
}
 
开发者ID:apache,项目名称:olingo-odata2,代码行数:5,代码来源:JPAEdmTestModelView.java

示例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);
 
开发者ID:apache,项目名称:olingo-odata2,代码行数:11,代码来源:ODataJPAContext.java

示例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();
 
开发者ID:apache,项目名称:olingo-odata2,代码行数:8,代码来源:ODataJPAContext.java


注:本文中的org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。