org.apache.olingo.odata2.jpa.processor.core.edm
Class ODataJPAEdmProvider

java.lang.Object
  extended by org.apache.olingo.odata2.api.edm.provider.EdmProvider
      extended by org.apache.olingo.odata2.jpa.processor.core.edm.ODataJPAEdmProvider

public class ODataJPAEdmProvider
extends EdmProvider


Constructor Summary
ODataJPAEdmProvider()
           
ODataJPAEdmProvider(ODataJPAContext oDataJPAContext)
           
 
Method Summary
 Association getAssociation(FullQualifiedName edmFQName)
           
 AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole)
           
 ComplexType getComplexType(FullQualifiedName edmFQName)
           
 EntityContainerInfo getEntityContainerInfo(String name)
           
 EntitySet getEntitySet(String entityContainer, String name)
           
 EntityType getEntityType(FullQualifiedName edmFQName)
           
 FunctionImport getFunctionImport(String entityContainer, String name)
           
 ODataJPAContext getODataJPAContext()
           
 List<Schema> getSchemas()
           
 void setODataJPAContext(ODataJPAContext jpaContext)
           
 
Methods inherited from class org.apache.olingo.odata2.api.edm.provider.EdmProvider
getAliasInfos
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODataJPAEdmProvider

public ODataJPAEdmProvider()

ODataJPAEdmProvider

public ODataJPAEdmProvider(ODataJPAContext oDataJPAContext)
Method Detail

getODataJPAContext

public ODataJPAContext getODataJPAContext()

setODataJPAContext

public void setODataJPAContext(ODataJPAContext jpaContext)

getEntityContainerInfo

public EntityContainerInfo getEntityContainerInfo(String name)
                                           throws ODataException
Overrides:
getEntityContainerInfo in class EdmProvider
Throws:
ODataException

getEntityType

public EntityType getEntityType(FullQualifiedName edmFQName)
                         throws ODataException
Overrides:
getEntityType in class EdmProvider
Throws:
ODataException

getComplexType

public ComplexType getComplexType(FullQualifiedName edmFQName)
                           throws ODataException
Overrides:
getComplexType in class EdmProvider
Throws:
ODataException

getAssociation

public Association getAssociation(FullQualifiedName edmFQName)
                           throws ODataException
Overrides:
getAssociation in class EdmProvider
Throws:
ODataException

getEntitySet

public EntitySet getEntitySet(String entityContainer,
                              String name)
                       throws ODataException
Overrides:
getEntitySet in class EdmProvider
Throws:
ODataException

getAssociationSet

public AssociationSet getAssociationSet(String entityContainer,
                                        FullQualifiedName association,
                                        String sourceEntitySetName,
                                        String sourceEntitySetRole)
                                 throws ODataException
Overrides:
getAssociationSet in class EdmProvider
Throws:
ODataException

getFunctionImport

public FunctionImport getFunctionImport(String entityContainer,
                                        String name)
                                 throws ODataException
Overrides:
getFunctionImport in class EdmProvider
Throws:
ODataException

getSchemas

public List<Schema> getSchemas()
                        throws ODataException
Overrides:
getSchemas in class EdmProvider
Throws:
ODataException


Copyright © 2013-2014 The Apache Software Foundation. All Rights Reserved.