public abstract class EdmProvider extends Object
| Constructor and Description |
|---|
EdmProvider() |
| Modifier and Type | Method and Description |
|---|---|
ActionImport |
getActionImport(FullQualifiedName entityContainer,
String actionImportName)
This method should return an
ActionImport or null if nothing is found |
List<Action> |
getActions(FullQualifiedName actionName)
This method should return a list of all
Action for the FullQualifiedname or null if nothing is found |
List<AliasInfo> |
getAliasInfos()
This method should return a list of all namespaces which have an alias
|
ComplexType |
getComplexType(FullQualifiedName complexTypeName)
This method should return a
ComplexType or null if nothing is found. |
EntityContainer |
getEntityContainer()
Returns the entity container of this edm
|
EntityContainerInfo |
getEntityContainerInfo(FullQualifiedName entityContainerName)
This method should return an
EntityContainerInfo or null if nothing is found |
EntitySet |
getEntitySet(FullQualifiedName entityContainer,
String entitySetName)
This method should return an
EntitySet or null if nothing is found |
EntityType |
getEntityType(FullQualifiedName entityTypeName)
This method should return an
EntityType or null if nothing is found |
EnumType |
getEnumType(FullQualifiedName enumTypeName)
This method should return an
EnumType or null if nothing is found |
FunctionImport |
getFunctionImport(FullQualifiedName entityContainer,
String functionImportName)
This method should return a
FunctionImport or null if nothing is found |
List<Function> |
getFunctions(FullQualifiedName functionName)
This method should return a list of all
Function for the FullQualifiedname or null if nothing is
found |
List<Schema> |
getSchemas()
This method should return a collection of all
Schema |
Singleton |
getSingleton(FullQualifiedName entityContainer,
String singletonName)
This method should return an
Singleton or null if nothing is found |
Term |
getTerm(FullQualifiedName termName)
This method should return a
Term for the FullQualifiedName or null if nothing is found. |
TypeDefinition |
getTypeDefinition(FullQualifiedName typeDefinitionName)
This method should return an
TypeDefinition or null if nothing is found |
public EnumType getEnumType(FullQualifiedName enumTypeName) throws ODataException
EnumType or null if nothing is foundenumTypeName - EnumType for given nameODataExceptionpublic TypeDefinition getTypeDefinition(FullQualifiedName typeDefinitionName) throws ODataException
TypeDefinition or null if nothing is foundtypeDefinitionName - TypeDefinition for given nameODataExceptionpublic EntityType getEntityType(FullQualifiedName entityTypeName) throws ODataException
EntityType or null if nothing is foundentityTypeName - EntityType for the given nameODataExceptionpublic ComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
ComplexType or null if nothing is found.complexTypeName - ComplexType for the given nameODataExceptionpublic List<Action> getActions(FullQualifiedName actionName) throws ODataException
Action for the FullQualifiedname or null if nothing is foundactionName - Action or nullODataExceptionpublic List<Function> getFunctions(FullQualifiedName functionName) throws ODataException
Function for the FullQualifiedname or null if nothing is
foundfunctionName - Function or nullODataExceptionpublic Term getTerm(FullQualifiedName termName) throws ODataException
Term for the FullQualifiedName or null if nothing is found.termName - the name of the TermTerm or nullODataExceptionpublic EntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException
EntitySet or null if nothing is foundentityContainer - this EntitySet is contained inentitySetName - EntitySet for the given container and entityset nameODataExceptionpublic Singleton getSingleton(FullQualifiedName entityContainer, String singletonName) throws ODataException
Singleton or null if nothing is foundentityContainer - this Singleton is contained insingletonName - Singleton for given container and singleton nameODataExceptionpublic ActionImport getActionImport(FullQualifiedName entityContainer, String actionImportName) throws ODataException
ActionImport or null if nothing is foundentityContainer - this ActionImport is contained inactionImportName - ActionImport for the given container and ActionImport nameODataExceptionpublic FunctionImport getFunctionImport(FullQualifiedName entityContainer, String functionImportName) throws ODataException
FunctionImport or null if nothing is foundentityContainer - this FunctionImport is contained infunctionImportName - FunctionImport for the given container name and function import nameODataExceptionpublic EntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException
EntityContainerInfo or null if nothing is foundentityContainerName - (null for default container)EntityContainerInfo for the given nameODataExceptionpublic List<AliasInfo> getAliasInfos() throws ODataException
ODataExceptionpublic List<Schema> getSchemas() throws ODataException
SchemaSchema>ODataExceptionpublic EntityContainer getEntityContainer() throws ODataException
EntityContainer of this edmODataExceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.