public class EdmTechProvider extends EdmProvider
Constructor and Description |
---|
EdmTechProvider() |
EdmTechProvider(List<EdmxReference> references) |
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 static final String nameSpace
public EdmTechProvider()
public EdmTechProvider(List<EdmxReference> references)
public List<AliasInfo> getAliasInfos() throws ODataException
EdmProvider
getAliasInfos
in class EdmProvider
ODataException
public EnumType getEnumType(FullQualifiedName enumTypeName) throws ODataException
EdmProvider
EnumType
or null if nothing is foundgetEnumType
in class EdmProvider
EnumType
for given nameODataException
public TypeDefinition getTypeDefinition(FullQualifiedName typeDefinitionName) throws ODataException
EdmProvider
TypeDefinition
or null if nothing is foundgetTypeDefinition
in class EdmProvider
TypeDefinition
for given nameODataException
public EntityType getEntityType(FullQualifiedName entityTypeName) throws ODataException
EdmProvider
EntityType
or null if nothing is foundgetEntityType
in class EdmProvider
EntityType
for the given nameODataException
public ComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
EdmProvider
ComplexType
or null if nothing is found.getComplexType
in class EdmProvider
ComplexType
for the given nameODataException
public List<Action> getActions(FullQualifiedName actionName) throws ODataException
EdmProvider
Action
for the FullQualifiedname or null if nothing is foundgetActions
in class EdmProvider
Action
or nullODataException
public List<Function> getFunctions(FullQualifiedName functionName) throws ODataException
EdmProvider
Function
for the FullQualifiedname or null if nothing is
foundgetFunctions
in class EdmProvider
Function
or nullODataException
public Term getTerm(FullQualifiedName termName) throws ODataException
EdmProvider
Term
for the FullQualifiedName or null if nothing is found.getTerm
in class EdmProvider
termName
- the name of the TermTerm
or nullODataException
public EntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException
EdmProvider
EntitySet
or null if nothing is foundgetEntitySet
in class EdmProvider
entityContainer
- this EntitySet is contained inEntitySet
for the given container and entityset nameODataException
public Singleton getSingleton(FullQualifiedName entityContainer, String singletonName) throws ODataException
EdmProvider
Singleton
or null if nothing is foundgetSingleton
in class EdmProvider
entityContainer
- this Singleton is contained inSingleton
for given container and singleton nameODataException
public ActionImport getActionImport(FullQualifiedName entityContainer, String actionImportName) throws ODataException
EdmProvider
ActionImport
or null if nothing is foundgetActionImport
in class EdmProvider
entityContainer
- this ActionImport is contained inActionImport
for the given container and ActionImport nameODataException
public FunctionImport getFunctionImport(FullQualifiedName entityContainer, String functionImportName) throws ODataException
EdmProvider
FunctionImport
or null if nothing is foundgetFunctionImport
in class EdmProvider
entityContainer
- this FunctionImport is contained inFunctionImport
for the given container name and function import nameODataException
public List<Schema> getSchemas() throws ODataException
EdmProvider
Schema
getSchemas
in class EdmProvider
Schema
>ODataException
public EntityContainer getEntityContainer() throws ODataException
EdmProvider
getEntityContainer
in class EdmProvider
EntityContainer
of this edmODataException
public EntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException
EdmProvider
EntityContainerInfo
or null if nothing is foundgetEntityContainerInfo
in class EdmProvider
entityContainerName
- (null for default container)EntityContainerInfo
for the given nameODataException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.