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 nameODataException
public EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
EntityType
or null if nothing is foundedmFQName
- EntityType
for the given nameODataException
public ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
ComplexType
or null if nothing is foundedmFQName
- ComplexType
for the given nameODataException
public Association getAssociation(FullQualifiedName edmFQName) throws ODataException
Association
or null if nothing is foundedmFQName
- Association
for the given nameODataException
public 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 nameODataException
public 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 roleODataException
public 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 nameODataException
public List<Schema> getSchemas() throws ODataException
Schema
or null if nothing is foundSchema
>ODataException
public List<AliasInfo> getAliasInfos() throws ODataException
AliasInfo
>ODataException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.