public class EdmTechProvider extends CsdlAbstractEdmProvider
Constructor and Description |
---|
EdmTechProvider() |
Modifier and Type | Method and Description |
---|---|
CsdlActionImport |
getActionImport(FullQualifiedName entityContainer,
String actionImportName)
This method should return an
CsdlActionImport or null if nothing is found |
List<CsdlAction> |
getActions(FullQualifiedName actionName)
This method should return a list of all
CsdlAction for the FullQualifiedname
or null if nothing is found |
List<CsdlAliasInfo> |
getAliasInfos()
This method should return a list of all namespaces which have an alias
|
CsdlComplexType |
getComplexType(FullQualifiedName complexTypeName)
This method should return a
CsdlComplexType or null if nothing is found. |
CsdlEntityContainer |
getEntityContainer()
Returns the entity container of this edm
|
CsdlEntityContainerInfo |
getEntityContainerInfo(FullQualifiedName entityContainerName)
This method should return an
CsdlEntityContainerInfo or null if nothing is found |
CsdlEntitySet |
getEntitySet(FullQualifiedName entityContainer,
String entitySetName)
This method should return an
CsdlEntitySet or null if nothing is found |
CsdlEntityType |
getEntityType(FullQualifiedName entityTypeName)
This method should return an
CsdlEntityType or null if nothing is found |
CsdlEnumType |
getEnumType(FullQualifiedName enumTypeName)
This method should return an
CsdlEnumType or null if nothing is found |
CsdlFunctionImport |
getFunctionImport(FullQualifiedName entityContainer,
String functionImportName)
This method should return a
CsdlFunctionImport or null if nothing is found |
List<CsdlFunction> |
getFunctions(FullQualifiedName functionName)
This method should return a list of all
CsdlFunction for the FullQualifiedname or null if nothing is
found |
List<CsdlSchema> |
getSchemas()
This method should return a collection of all
CsdlSchema |
CsdlSingleton |
getSingleton(FullQualifiedName entityContainer,
String singletonName)
This method should return an
CsdlSingleton or null if nothing is found |
CsdlTerm |
getTerm(FullQualifiedName termName)
This method should return a
CsdlTerm for the FullQualifiedName or null if nothing is found. |
CsdlTypeDefinition |
getTypeDefinition(FullQualifiedName typeDefinitionName)
This method should return an
CsdlTypeDefinition or null if nothing is found |
getAnnotatable, getAnnotationsGroup
public static final String nameSpace
public List<CsdlAliasInfo> getAliasInfos() throws ODataException
CsdlEdmProvider
getAliasInfos
in interface CsdlEdmProvider
getAliasInfos
in class CsdlAbstractEdmProvider
ODataException
- the o data exceptionpublic CsdlEnumType getEnumType(FullQualifiedName enumTypeName) throws ODataException
CsdlEdmProvider
CsdlEnumType
or null if nothing is foundgetEnumType
in interface CsdlEdmProvider
getEnumType
in class CsdlAbstractEdmProvider
enumTypeName
- full qualified name of enum typeODataException
- the o data exceptionpublic CsdlTypeDefinition getTypeDefinition(FullQualifiedName typeDefinitionName) throws ODataException
CsdlEdmProvider
CsdlTypeDefinition
or null if nothing is foundgetTypeDefinition
in interface CsdlEdmProvider
getTypeDefinition
in class CsdlAbstractEdmProvider
typeDefinitionName
- full qualified name of type definitionODataException
- the o data exceptionpublic CsdlEntityType getEntityType(FullQualifiedName entityTypeName) throws ODataException
CsdlEdmProvider
CsdlEntityType
or null if nothing is foundgetEntityType
in interface CsdlEdmProvider
getEntityType
in class CsdlAbstractEdmProvider
entityTypeName
- full qualified name of entity typeODataException
- the o data exceptionpublic CsdlComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
CsdlEdmProvider
CsdlComplexType
or null if nothing is found.getComplexType
in interface CsdlEdmProvider
getComplexType
in class CsdlAbstractEdmProvider
complexTypeName
- full qualified name of complex typeODataException
- the o data exceptionpublic List<CsdlAction> getActions(FullQualifiedName actionName) throws ODataException
CsdlEdmProvider
CsdlAction
for the FullQualifiedname
or null if nothing is foundgetActions
in interface CsdlEdmProvider
getActions
in class CsdlAbstractEdmProvider
actionName
- full qualified name of actionODataException
- the o data exceptionpublic List<CsdlFunction> getFunctions(FullQualifiedName functionName) throws ODataException
CsdlEdmProvider
CsdlFunction
for the FullQualifiedname or null if nothing is
foundgetFunctions
in interface CsdlEdmProvider
getFunctions
in class CsdlAbstractEdmProvider
functionName
- full qualified name of functionODataException
- the o data exceptionpublic CsdlTerm getTerm(FullQualifiedName termName) throws ODataException
CsdlEdmProvider
CsdlTerm
for the FullQualifiedName or null if nothing is found.getTerm
in interface CsdlEdmProvider
getTerm
in class CsdlAbstractEdmProvider
termName
- the name of the TermODataException
- the o data exceptionpublic CsdlEntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException
CsdlEdmProvider
CsdlEntitySet
or null if nothing is foundgetEntitySet
in interface CsdlEdmProvider
getEntitySet
in class CsdlAbstractEdmProvider
entityContainer
- this EntitySet is contained inentitySetName
- name of entity setODataException
- the o data exceptionpublic CsdlSingleton getSingleton(FullQualifiedName entityContainer, String singletonName) throws ODataException
CsdlEdmProvider
CsdlSingleton
or null if nothing is foundgetSingleton
in interface CsdlEdmProvider
getSingleton
in class CsdlAbstractEdmProvider
entityContainer
- this Singleton is contained insingletonName
- name of singletonODataException
- the o data exceptionpublic CsdlActionImport getActionImport(FullQualifiedName entityContainer, String actionImportName) throws ODataException
CsdlEdmProvider
CsdlActionImport
or null if nothing is foundgetActionImport
in interface CsdlEdmProvider
getActionImport
in class CsdlAbstractEdmProvider
entityContainer
- this ActionImport is contained inactionImportName
- name of action importODataException
- the o data exceptionpublic CsdlFunctionImport getFunctionImport(FullQualifiedName entityContainer, String functionImportName) throws ODataException
CsdlEdmProvider
CsdlFunctionImport
or null if nothing is foundgetFunctionImport
in interface CsdlEdmProvider
getFunctionImport
in class CsdlAbstractEdmProvider
entityContainer
- this FunctionImport is contained infunctionImportName
- name of function importODataException
- the o data exceptionpublic List<CsdlSchema> getSchemas() throws ODataException
CsdlEdmProvider
CsdlSchema
getSchemas
in interface CsdlEdmProvider
getSchemas
in class CsdlAbstractEdmProvider
ODataException
- the o data exceptionpublic CsdlEntityContainer getEntityContainer() throws ODataException
CsdlEdmProvider
getEntityContainer
in interface CsdlEdmProvider
getEntityContainer
in class CsdlAbstractEdmProvider
ODataException
- the o data exceptionpublic CsdlEntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException
CsdlEdmProvider
CsdlEntityContainerInfo
or null if nothing is foundgetEntityContainerInfo
in interface CsdlEdmProvider
getEntityContainerInfo
in class CsdlAbstractEdmProvider
entityContainerName
- (null for default container)ODataException
- the o data exceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.