public abstract class EdmProvider extends Object
| Constructor and Description |
|---|
EdmProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<AliasInfo> |
getAliasInfos()
This method should return a list of all defined aliases and their associated namespace.
|
Association |
getAssociation(FullQualifiedName edmFQName)
This method should return an
Association or null if nothing is found |
AssociationSet |
getAssociationSet(String entityContainer,
FullQualifiedName association,
String sourceEntitySetName,
String sourceEntitySetRole)
This method should return an
AssociationSet or null if nothing is found |
ComplexType |
getComplexType(FullQualifiedName edmFQName)
This method should return a
ComplexType or null if nothing is found |
EntityContainerInfo |
getEntityContainerInfo(String name)
This method should return an
EntityContainerInfo or null if nothing is found |
EntitySet |
getEntitySet(String entityContainer,
String name)
This method should return an
EntitySet or null if nothing is found |
EntityType |
getEntityType(FullQualifiedName edmFQName)
This method should return an
EntityType or null if nothing is found |
FunctionImport |
getFunctionImport(String entityContainer,
String name)
This method should return a
FunctionImport or null if nothing is found |
List<Schema> |
getSchemas()
This method should return a collection of all
Schema or null if nothing is found |
public EntityContainerInfo getEntityContainerInfo(String name) throws ODataException
EntityContainerInfo or null if nothing is foundname - (null for default container)EntityContainerInfo for the given nameODataExceptionpublic EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
EntityType or null if nothing is foundedmFQName - EntityType for the given nameODataExceptionpublic ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
ComplexType or null if nothing is foundedmFQName - ComplexType for the given nameODataExceptionpublic Association getAssociation(FullQualifiedName edmFQName) throws ODataException
Association or null if nothing is foundedmFQName - Association for the given nameODataExceptionpublic EntitySet getEntitySet(String entityContainer, String name) throws ODataException
EntitySet or null if nothing is foundentityContainer - name - EntitySet for the given container name and entity set nameODataExceptionpublic AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException
AssociationSet or null if nothing is foundentityContainer - association - sourceEntitySetName - sourceEntitySetRole - AssociationSet for the given container name, association name, source entity set name and source
entity set roleODataExceptionpublic FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException
FunctionImport or null if nothing is foundentityContainer - name - FunctionImport for the given container name and function import nameODataExceptionpublic List<Schema> getSchemas() throws ODataException
Schema or null if nothing is foundSchema>ODataExceptionpublic List<AliasInfo> getAliasInfos() throws ODataException
AliasInfo>ODataExceptionCopyright © 2013-2023 The Apache Software Foundation. All Rights Reserved.