Class CsdlAbstractEdmProvider
java.lang.Object
org.apache.olingo.commons.api.edm.provider.CsdlAbstractEdmProvider
- All Implemented Interfaces:
CsdlEdmProvider
Dummy implementation of
CsdlEdmProvider-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActionImport(FullQualifiedName entityContainer, String actionImportName) This method should return anCsdlActionImportor null if nothing is foundgetActions(FullQualifiedName actionName) This method should return a list of allCsdlActionfor 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 aCsdlComplexTypeor null if nothing is found.Returns the entity container of this edmgetEntityContainerInfo(FullQualifiedName entityContainerName) This method should return anCsdlEntityContainerInfoor null if nothing is foundgetEntitySet(FullQualifiedName entityContainer, String entitySetName) This method should return anCsdlEntitySetor null if nothing is foundgetEntityType(FullQualifiedName entityTypeName) This method should return anCsdlEntityTypeor null if nothing is foundgetEnumType(FullQualifiedName enumTypeName) This method should return anCsdlEnumTypeor null if nothing is foundgetFunctionImport(FullQualifiedName entityContainer, String functionImportName) This method should return aCsdlFunctionImportor null if nothing is foundgetFunctions(FullQualifiedName functionName) This method should return a list of allCsdlFunctionfor the FullQualifiedname or null if nothing is foundThis method should return a collection of allCsdlSchemagetSingleton(FullQualifiedName entityContainer, String singletonName) This method should return anCsdlSingletonor null if nothing is foundgetTerm(FullQualifiedName termName) This method should return aCsdlTermfor the FullQualifiedName or null if nothing is found.getTypeDefinition(FullQualifiedName typeDefinitionName) This method should return anCsdlTypeDefinitionor null if nothing is found
-
Constructor Details
-
CsdlAbstractEdmProvider
public CsdlAbstractEdmProvider()
-
-
Method Details
-
getEnumType
Description copied from interface:CsdlEdmProviderThis method should return anCsdlEnumTypeor null if nothing is found- Specified by:
getEnumTypein interfaceCsdlEdmProvider- Parameters:
enumTypeName- full qualified name of enum type- Returns:
- for given name
- Throws:
ODataException
-
getTypeDefinition
public CsdlTypeDefinition getTypeDefinition(FullQualifiedName typeDefinitionName) throws ODataException Description copied from interface:CsdlEdmProviderThis method should return anCsdlTypeDefinitionor null if nothing is found- Specified by:
getTypeDefinitionin interfaceCsdlEdmProvider- Parameters:
typeDefinitionName- full qualified name of type definition- Returns:
- for given name
- Throws:
ODataException
-
getEntityType
Description copied from interface:CsdlEdmProviderThis method should return anCsdlEntityTypeor null if nothing is found- Specified by:
getEntityTypein interfaceCsdlEdmProvider- Parameters:
entityTypeName- full qualified name of entity type- Returns:
- for the given name
- Throws:
ODataException
-
getComplexType
Description copied from interface:CsdlEdmProviderThis method should return aCsdlComplexTypeor null if nothing is found.- Specified by:
getComplexTypein interfaceCsdlEdmProvider- Parameters:
complexTypeName- full qualified name of complex type- Returns:
- for the given name
- Throws:
ODataException
-
getActions
Description copied from interface:CsdlEdmProviderThis method should return a list of allCsdlActionfor the FullQualifiedname or null if nothing is found- Specified by:
getActionsin interfaceCsdlEdmProvider- Parameters:
actionName- full qualified name of action- Returns:
- List of or null
- Throws:
ODataException
-
getFunctions
Description copied from interface:CsdlEdmProviderThis method should return a list of allCsdlFunctionfor the FullQualifiedname or null if nothing is found- Specified by:
getFunctionsin interfaceCsdlEdmProvider- Parameters:
functionName- full qualified name of function- Returns:
- List of or null
- Throws:
ODataException
-
getTerm
Description copied from interface:CsdlEdmProviderThis method should return aCsdlTermfor the FullQualifiedName or null if nothing is found.- Specified by:
getTermin interfaceCsdlEdmProvider- Parameters:
termName- the name of the Term- Returns:
- or null
- Throws:
ODataException
-
getEntitySet
public CsdlEntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException Description copied from interface:CsdlEdmProviderThis method should return anCsdlEntitySetor null if nothing is found- Specified by:
getEntitySetin interfaceCsdlEdmProvider- Parameters:
entityContainer- this EntitySet is contained inentitySetName- name of entity set- Returns:
- for the given container and entityset name
- Throws:
ODataException
-
getSingleton
public CsdlSingleton getSingleton(FullQualifiedName entityContainer, String singletonName) throws ODataException Description copied from interface:CsdlEdmProviderThis method should return anCsdlSingletonor null if nothing is found- Specified by:
getSingletonin interfaceCsdlEdmProvider- Parameters:
entityContainer- this Singleton is contained insingletonName- name of singleton- Returns:
- for given container and singleton name
- Throws:
ODataException
-
getActionImport
public CsdlActionImport getActionImport(FullQualifiedName entityContainer, String actionImportName) throws ODataException Description copied from interface:CsdlEdmProviderThis method should return anCsdlActionImportor null if nothing is found- Specified by:
getActionImportin interfaceCsdlEdmProvider- Parameters:
entityContainer- this ActionImport is contained inactionImportName- name of action import- Returns:
- for the given container and ActionImport name
- Throws:
ODataException
-
getFunctionImport
public CsdlFunctionImport getFunctionImport(FullQualifiedName entityContainer, String functionImportName) throws ODataException Description copied from interface:CsdlEdmProviderThis method should return aCsdlFunctionImportor null if nothing is found- Specified by:
getFunctionImportin interfaceCsdlEdmProvider- Parameters:
entityContainer- this FunctionImport is contained infunctionImportName- name of function import- Returns:
- for the given container name and function import name
- Throws:
ODataException
-
getEntityContainerInfo
public CsdlEntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException Description copied from interface:CsdlEdmProviderThis method should return anCsdlEntityContainerInfoor null if nothing is found- Specified by:
getEntityContainerInfoin interfaceCsdlEdmProvider- Parameters:
entityContainerName- (null for default container)- Returns:
- for the given name
- Throws:
ODataException
-
getAliasInfos
Description copied from interface:CsdlEdmProviderThis method should return a list of all namespaces which have an alias- Specified by:
getAliasInfosin interfaceCsdlEdmProvider- Returns:
- List of alias info
- Throws:
ODataException
-
getSchemas
Description copied from interface:CsdlEdmProviderThis method should return a collection of allCsdlSchema- Specified by:
getSchemasin interfaceCsdlEdmProvider- Returns:
- List of
- Throws:
ODataException
-
getEntityContainer
Description copied from interface:CsdlEdmProviderReturns the entity container of this edm- Specified by:
getEntityContainerin interfaceCsdlEdmProvider- Returns:
- of this edm
- Throws:
ODataException
-
getAnnotationsGroup
public CsdlAnnotations getAnnotationsGroup(FullQualifiedName targetName, String qualifier) throws ODataException Description copied from interface:CsdlEdmProviderGets annotations group.- Specified by:
getAnnotationsGroupin interfaceCsdlEdmProvider- Parameters:
targetName- full qualified name of targetqualifier- for the given target. Might be null.- Returns:
- group for the given Target
- Throws:
ODataException
-