Package org.apache.olingo.odata2.ref.edm
Class ScenarioEdmProvider
- java.lang.Object
-
- org.apache.olingo.odata2.api.edm.provider.EdmProvider
-
- org.apache.olingo.odata2.ref.edm.ScenarioEdmProvider
-
public class ScenarioEdmProvider extends EdmProvider
Provider for the entity data model used in the reference scenario
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMESPACE_1static StringNAMESPACE_2
-
Constructor Summary
Constructors Constructor Description ScenarioEdmProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssociationgetAssociation(FullQualifiedName edmFQName)AssociationSetgetAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole)ComplexTypegetComplexType(FullQualifiedName edmFQName)EntityContainerInfogetEntityContainerInfo(String name)EntitySetgetEntitySet(String entityContainer, String name)EntityTypegetEntityType(FullQualifiedName edmFQName)FunctionImportgetFunctionImport(String entityContainer, String name)List<Schema>getSchemas()-
Methods inherited from class org.apache.olingo.odata2.api.edm.provider.EdmProvider
getAliasInfos
-
-
-
-
Field Detail
-
NAMESPACE_1
public static final String NAMESPACE_1
- See Also:
- Constant Field Values
-
NAMESPACE_2
public static final String NAMESPACE_2
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSchemas
public List<Schema> getSchemas() throws ODataException
- Overrides:
getSchemasin classEdmProvider- Throws:
ODataException
-
getEntityType
public EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
- Overrides:
getEntityTypein classEdmProvider- Throws:
ODataException
-
getComplexType
public ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
- Overrides:
getComplexTypein classEdmProvider- Throws:
ODataException
-
getAssociation
public Association getAssociation(FullQualifiedName edmFQName) throws ODataException
- Overrides:
getAssociationin classEdmProvider- Throws:
ODataException
-
getEntityContainerInfo
public EntityContainerInfo getEntityContainerInfo(String name) throws ODataException
- Overrides:
getEntityContainerInfoin classEdmProvider- Throws:
ODataException
-
getEntitySet
public EntitySet getEntitySet(String entityContainer, String name) throws ODataException
- Overrides:
getEntitySetin classEdmProvider- Throws:
ODataException
-
getFunctionImport
public FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException
- Overrides:
getFunctionImportin classEdmProvider- Throws:
ODataException
-
getAssociationSet
public AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException
- Overrides:
getAssociationSetin classEdmProvider- Throws:
ODataException
-
-