當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。