Class EdmxProvider
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.EdmProvider
org.apache.olingo.odata2.core.edm.provider.EdmxProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method should return a list of all defined aliases and their associated namespace.getAssociation(FullQualifiedName edmFQName) This method should return anAssociationor null if nothing is foundgetAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) This method should return anAssociationSetor null if nothing is foundgetComplexType(FullQualifiedName edmFQName) This method should return aComplexTypeor null if nothing is foundgetEntityContainerInfo(String name) This method should return anEntityContainerInfoor null if nothing is foundgetEntitySet(String entityContainer, String name) This method should return anEntitySetor null if nothing is foundgetEntityType(FullQualifiedName edmFQName) This method should return anEntityTypeor null if nothing is foundgetFunctionImport(String entityContainer, String name) This method should return aFunctionImportor null if nothing is foundThis method should return a collection of allSchemaor null if nothing is foundparse(InputStream in, boolean validate)
-
Constructor Details
-
EdmxProvider
public EdmxProvider()
-
-
Method Details
-
parse
- Throws:
EntityProviderException
-
getEntityContainerInfo
Description copied from class:EdmProviderThis method should return anEntityContainerInfoor null if nothing is found- Overrides:
getEntityContainerInfoin classEdmProvider- Parameters:
name- (null for default container)- Returns:
EntityContainerInfofor the given name- Throws:
ODataException
-
getEntityType
Description copied from class:EdmProviderThis method should return anEntityTypeor null if nothing is found- Overrides:
getEntityTypein classEdmProvider- Returns:
EntityTypefor the given name- Throws:
ODataException
-
getComplexType
Description copied from class:EdmProviderThis method should return aComplexTypeor null if nothing is found- Overrides:
getComplexTypein classEdmProvider- Returns:
ComplexTypefor the given name- Throws:
ODataException
-
getAssociation
Description copied from class:EdmProviderThis method should return anAssociationor null if nothing is found- Overrides:
getAssociationin classEdmProvider- Returns:
Associationfor the given name- Throws:
ODataException
-
getEntitySet
Description copied from class:EdmProviderThis method should return anEntitySetor null if nothing is found- Overrides:
getEntitySetin classEdmProvider- Returns:
EntitySetfor the given container name and entity set name- Throws:
ODataException
-
getAssociationSet
public AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException Description copied from class:EdmProviderThis method should return anAssociationSetor null if nothing is found- Overrides:
getAssociationSetin classEdmProvider- Returns:
AssociationSetfor the given container name, association name, source entity set name and source entity set role- Throws:
ODataException
-
getFunctionImport
Description copied from class:EdmProviderThis method should return aFunctionImportor null if nothing is found- Overrides:
getFunctionImportin classEdmProvider- Returns:
FunctionImportfor the given container name and function import name- Throws:
ODataException
-
getSchemas
Description copied from class:EdmProviderThis method should return a collection of allSchemaor null if nothing is found- Overrides:
getSchemasin classEdmProvider- Returns:
- List<
Schema> - Throws:
ODataException
-
getAliasInfos
Description copied from class:EdmProviderThis method should return a list of all defined aliases and their associated namespace. If not implemented aliases cannot be resolved- Overrides:
getAliasInfosin classEdmProvider- Returns:
- List<
AliasInfo>
-