Interface CsdlEdmProvider
- All Known Implementing Classes:
CsdlAbstractEdmProvider
public interface CsdlEdmProvider
The interface Csdl edm provider.
-
Method Summary
Modifier and TypeMethodDescriptiongetActionImport
(FullQualifiedName entityContainer, String actionImportName) This method should return anCsdlActionImport
or null if nothing is foundgetActions
(FullQualifiedName actionName) This method should return a list of allCsdlAction
for the FullQualifiedname or null if nothing is foundThis method should return a list of all namespaces which have an aliasgetAnnotationsGroup
(FullQualifiedName targetName, String qualifier) Gets annotations group.getComplexType
(FullQualifiedName complexTypeName) This method should return aCsdlComplexType
or null if nothing is found.Returns the entity container of this edmgetEntityContainerInfo
(FullQualifiedName entityContainerName) This method should return anCsdlEntityContainerInfo
or null if nothing is foundgetEntitySet
(FullQualifiedName entityContainer, String entitySetName) This method should return anCsdlEntitySet
or null if nothing is foundgetEntityType
(FullQualifiedName entityTypeName) This method should return anCsdlEntityType
or null if nothing is foundgetEnumType
(FullQualifiedName enumTypeName) This method should return anCsdlEnumType
or null if nothing is foundgetFunctionImport
(FullQualifiedName entityContainer, String functionImportName) This method should return aCsdlFunctionImport
or null if nothing is foundgetFunctions
(FullQualifiedName functionName) This method should return a list of allCsdlFunction
for the FullQualifiedname or null if nothing is foundThis method should return a collection of allCsdlSchema
getSingleton
(FullQualifiedName entityContainer, String singletonName) This method should return anCsdlSingleton
or null if nothing is foundgetTerm
(FullQualifiedName termName) This method should return aCsdlTerm
for the FullQualifiedName or null if nothing is found.getTypeDefinition
(FullQualifiedName typeDefinitionName) This method should return anCsdlTypeDefinition
or null if nothing is found
-
Method Details
-
getEnumType
This method should return anCsdlEnumType
or null if nothing is found- Parameters:
enumTypeName
- full qualified name of enum type- Returns:
- for given name
- Throws:
ODataException
-
getTypeDefinition
This method should return anCsdlTypeDefinition
or null if nothing is found- Parameters:
typeDefinitionName
- full qualified name of type definition- Returns:
- for given name
- Throws:
ODataException
-
getEntityType
This method should return anCsdlEntityType
or null if nothing is found- Parameters:
entityTypeName
- full qualified name of entity type- Returns:
- for the given name
- Throws:
ODataException
-
getComplexType
This method should return aCsdlComplexType
or null if nothing is found.- Parameters:
complexTypeName
- full qualified name of complex type- Returns:
- for the given name
- Throws:
ODataException
-
getActions
This method should return a list of allCsdlAction
for the FullQualifiedname or null if nothing is found- Parameters:
actionName
- full qualified name of action- Returns:
- List of or null
- Throws:
ODataException
-
getFunctions
This method should return a list of allCsdlFunction
for the FullQualifiedname or null if nothing is found- Parameters:
functionName
- full qualified name of function- Returns:
- List of or null
- Throws:
ODataException
-
getTerm
This method should return aCsdlTerm
for the FullQualifiedName or null if nothing is found.- Parameters:
termName
- the name of the Term- Returns:
- or null
- Throws:
ODataException
-
getEntitySet
CsdlEntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException This method should return anCsdlEntitySet
or null if nothing is found- Parameters:
entityContainer
- this EntitySet is contained inentitySetName
- name of entity set- Returns:
- for the given container and entityset name
- Throws:
ODataException
-
getSingleton
CsdlSingleton getSingleton(FullQualifiedName entityContainer, String singletonName) throws ODataException This method should return anCsdlSingleton
or null if nothing is found- Parameters:
entityContainer
- this Singleton is contained insingletonName
- name of singleton- Returns:
- for given container and singleton name
- Throws:
ODataException
-
getActionImport
CsdlActionImport getActionImport(FullQualifiedName entityContainer, String actionImportName) throws ODataException This method should return anCsdlActionImport
or null if nothing is found- Parameters:
entityContainer
- this ActionImport is contained inactionImportName
- name of action import- Returns:
- for the given container and ActionImport name
- Throws:
ODataException
-
getFunctionImport
CsdlFunctionImport getFunctionImport(FullQualifiedName entityContainer, String functionImportName) throws ODataException This method should return aCsdlFunctionImport
or null if nothing is found- Parameters:
entityContainer
- this FunctionImport is contained infunctionImportName
- name of function import- Returns:
- for the given container name and function import name
- Throws:
ODataException
-
getEntityContainerInfo
CsdlEntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException This method should return anCsdlEntityContainerInfo
or null if nothing is found- Parameters:
entityContainerName
- (null for default container)- Returns:
- for the given name
- Throws:
ODataException
-
getAliasInfos
This method should return a list of all namespaces which have an alias- Returns:
- List of alias info
- Throws:
ODataException
-
getSchemas
This method should return a collection of allCsdlSchema
- Returns:
- List of
- Throws:
ODataException
-
getEntityContainer
Returns the entity container of this edm- Returns:
- of this edm
- Throws:
ODataException
-
getAnnotationsGroup
CsdlAnnotations getAnnotationsGroup(FullQualifiedName targetName, String qualifier) throws ODataException Gets annotations group.- Parameters:
targetName
- full qualified name of targetqualifier
- for the given target. Might be null.- Returns:
- group for the given Target
- Throws:
ODataException
-