public class ScenarioEdmProvider extends EdmProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
NAMESPACE_1 |
static String |
NAMESPACE_2 |
| Constructor and Description |
|---|
ScenarioEdmProvider() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getAliasInfospublic static final String NAMESPACE_1
public static final String NAMESPACE_2
public List<Schema> getSchemas() throws ODataException
EdmProviderSchema or null if nothing is foundgetSchemas in class EdmProviderSchema>ODataExceptionpublic EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
EdmProviderEntityType or null if nothing is foundgetEntityType in class EdmProviderEntityType for the given nameODataExceptionpublic ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
EdmProviderComplexType or null if nothing is foundgetComplexType in class EdmProviderComplexType for the given nameODataExceptionpublic Association getAssociation(FullQualifiedName edmFQName) throws ODataException
EdmProviderAssociation or null if nothing is foundgetAssociation in class EdmProviderAssociation for the given nameODataExceptionpublic EntityContainerInfo getEntityContainerInfo(String name) throws ODataException
EdmProviderEntityContainerInfo or null if nothing is foundgetEntityContainerInfo in class EdmProvidername - (null for default container)EntityContainerInfo for the given nameODataExceptionpublic EntitySet getEntitySet(String entityContainer, String name) throws ODataException
EdmProviderEntitySet or null if nothing is foundgetEntitySet in class EdmProviderEntitySet for the given container name and entity set nameODataExceptionpublic FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException
EdmProviderFunctionImport or null if nothing is foundgetFunctionImport in class EdmProviderFunctionImport for the given container name and function import nameODataExceptionpublic AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException
EdmProviderAssociationSet or null if nothing is foundgetAssociationSet in class EdmProviderAssociationSet for the given container name, association name, source entity set name and source
entity set roleODataExceptionCopyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.