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