|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.olingo.odata2.api.edm.provider.EdmProvider
public abstract class EdmProvider
Default EDM Provider which is to be extended by the application
Constructor Summary | |
---|---|
EdmProvider()
|
Method Summary | |
---|---|
List<AliasInfo> |
getAliasInfos()
This method should return a list of all defined aliases and their associated namespace. |
Association |
getAssociation(FullQualifiedName edmFQName)
This method should return an Association or null if nothing is found |
AssociationSet |
getAssociationSet(String entityContainer,
FullQualifiedName association,
String sourceEntitySetName,
String sourceEntitySetRole)
This method should return an AssociationSet or null if nothing is found |
ComplexType |
getComplexType(FullQualifiedName edmFQName)
This method should return a ComplexType or null if nothing is found |
EntityContainerInfo |
getEntityContainerInfo(String name)
This method should return an EntityContainerInfo or null if nothing is found |
EntitySet |
getEntitySet(String entityContainer,
String name)
This method should return an EntitySet or null if nothing is found |
EntityType |
getEntityType(FullQualifiedName edmFQName)
This method should return an EntityType or null if nothing is found |
FunctionImport |
getFunctionImport(String entityContainer,
String name)
This method should return a FunctionImport or null if nothing is found |
List<Schema> |
getSchemas()
This method should return a collection of all Schema or null if nothing is found |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EdmProvider()
Method Detail |
---|
public EntityContainerInfo getEntityContainerInfo(String name) throws ODataException
EntityContainerInfo
or null if nothing is found
name
- (null for default container)
EntityContainerInfo
for the given name
ODataException
public EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
EntityType
or null if nothing is found
edmFQName
-
EntityType
for the given name
ODataException
public ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
ComplexType
or null if nothing is found
edmFQName
-
ComplexType
for the given name
ODataException
public Association getAssociation(FullQualifiedName edmFQName) throws ODataException
Association
or null if nothing is found
edmFQName
-
Association
for the given name
ODataException
public EntitySet getEntitySet(String entityContainer, String name) throws ODataException
EntitySet
or null if nothing is found
entityContainer
- name
-
EntitySet
for the given container name and entity set name
ODataException
public AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException
AssociationSet
or null if nothing is found
entityContainer
- association
- sourceEntitySetName
- sourceEntitySetRole
-
AssociationSet
for the given container name, association name, source entity set name and source
entity set role
ODataException
public FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException
FunctionImport
or null if nothing is found
entityContainer
- name
-
FunctionImport
for the given container name and function import name
ODataException
public List<Schema> getSchemas() throws ODataException
Schema
or null if nothing is found
Schema
>
ODataException
public List<AliasInfo> getAliasInfos() throws ODataException
AliasInfo
>
ODataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |