public interface CsdlEdmProvider
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
|
CsdlAnnotations |
getAnnotationsGroup(FullQualifiedName targetName,
String qualifier)
Gets annotations group.
|
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 |
CsdlEnumType getEnumType(FullQualifiedName enumTypeName) throws ODataException
CsdlEnumType
or null if nothing is foundenumTypeName
- full qualified name of enum typeODataException
CsdlTypeDefinition getTypeDefinition(FullQualifiedName typeDefinitionName) throws ODataException
CsdlTypeDefinition
or null if nothing is foundtypeDefinitionName
- full qualified name of type definitionODataException
CsdlEntityType getEntityType(FullQualifiedName entityTypeName) throws ODataException
CsdlEntityType
or null if nothing is foundentityTypeName
- full qualified name of entity typeODataException
CsdlComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
CsdlComplexType
or null if nothing is found.complexTypeName
- full qualified name of complex typeODataException
List<CsdlAction> getActions(FullQualifiedName actionName) throws ODataException
CsdlAction
for the FullQualifiedname
or null if nothing is foundactionName
- full qualified name of actionODataException
List<CsdlFunction> getFunctions(FullQualifiedName functionName) throws ODataException
CsdlFunction
for the FullQualifiedname or null if nothing is
foundfunctionName
- full qualified name of functionODataException
CsdlTerm getTerm(FullQualifiedName termName) throws ODataException
CsdlTerm
for the FullQualifiedName or null if nothing is found.termName
- the name of the TermODataException
CsdlEntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException
CsdlEntitySet
or null if nothing is foundentityContainer
- this EntitySet is contained inentitySetName
- name of entity setODataException
CsdlSingleton getSingleton(FullQualifiedName entityContainer, String singletonName) throws ODataException
CsdlSingleton
or null if nothing is foundentityContainer
- this Singleton is contained insingletonName
- name of singletonODataException
CsdlActionImport getActionImport(FullQualifiedName entityContainer, String actionImportName) throws ODataException
CsdlActionImport
or null if nothing is foundentityContainer
- this ActionImport is contained inactionImportName
- name of action importODataException
CsdlFunctionImport getFunctionImport(FullQualifiedName entityContainer, String functionImportName) throws ODataException
CsdlFunctionImport
or null if nothing is foundentityContainer
- this FunctionImport is contained infunctionImportName
- name of function importODataException
CsdlEntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException
CsdlEntityContainerInfo
or null if nothing is foundentityContainerName
- (null for default container)ODataException
List<CsdlAliasInfo> getAliasInfos() throws ODataException
ODataException
List<CsdlSchema> getSchemas() throws ODataException
CsdlSchema
ODataException
CsdlEntityContainer getEntityContainer() throws ODataException
ODataException
CsdlAnnotations getAnnotationsGroup(FullQualifiedName targetName, String qualifier) throws ODataException
targetName
- full qualified name of targetqualifier
- for the given target. Might be null.ODataException
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.