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 |
getAliasInfos
public static final String NAMESPACE_1
public static final String NAMESPACE_2
public List<Schema> getSchemas() throws ODataException
EdmProvider
Schema
or null if nothing is foundgetSchemas
in class EdmProvider
Schema
>ODataException
public EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
EdmProvider
EntityType
or null if nothing is foundgetEntityType
in class EdmProvider
EntityType
for the given nameODataException
public ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
EdmProvider
ComplexType
or null if nothing is foundgetComplexType
in class EdmProvider
ComplexType
for the given nameODataException
public Association getAssociation(FullQualifiedName edmFQName) throws ODataException
EdmProvider
Association
or null if nothing is foundgetAssociation
in class EdmProvider
Association
for the given nameODataException
public EntityContainerInfo getEntityContainerInfo(String name) throws ODataException
EdmProvider
EntityContainerInfo
or null if nothing is foundgetEntityContainerInfo
in class EdmProvider
name
- (null for default container)EntityContainerInfo
for the given nameODataException
public EntitySet getEntitySet(String entityContainer, String name) throws ODataException
EdmProvider
EntitySet
or null if nothing is foundgetEntitySet
in class EdmProvider
EntitySet
for the given container name and entity set nameODataException
public FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException
EdmProvider
FunctionImport
or null if nothing is foundgetFunctionImport
in class EdmProvider
FunctionImport
for the given container name and function import nameODataException
public AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException
EdmProvider
AssociationSet
or null if nothing is foundgetAssociationSet
in class EdmProvider
AssociationSet
for the given container name, association name, source entity set name and source
entity set roleODataException
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.