|
||||||||||
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
org.apache.olingo.odata2.ref.edm.ScenarioEdmProvider
public class ScenarioEdmProvider
Provider for the entity data model used in the reference scenario
Field Summary | |
---|---|
static String |
NAMESPACE_1
|
static String |
NAMESPACE_2
|
Constructor Summary | |
---|---|
ScenarioEdmProvider()
|
Method Summary | |
---|---|
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 org.apache.olingo.odata2.api.edm.provider.EdmProvider |
---|
getAliasInfos |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAMESPACE_1
public static final String NAMESPACE_2
Constructor Detail |
---|
public ScenarioEdmProvider()
Method Detail |
---|
public List<Schema> getSchemas() throws ODataException
EdmProvider
Schema
or null if nothing is found
getSchemas
in class EdmProvider
Schema
>
ODataException
public EntityType getEntityType(FullQualifiedName edmFQName) throws ODataException
EdmProvider
EntityType
or null if nothing is found
getEntityType
in class EdmProvider
EntityType
for the given name
ODataException
public ComplexType getComplexType(FullQualifiedName edmFQName) throws ODataException
EdmProvider
ComplexType
or null if nothing is found
getComplexType
in class EdmProvider
ComplexType
for the given name
ODataException
public Association getAssociation(FullQualifiedName edmFQName) throws ODataException
EdmProvider
Association
or null if nothing is found
getAssociation
in class EdmProvider
Association
for the given name
ODataException
public EntityContainerInfo getEntityContainerInfo(String name) throws ODataException
EdmProvider
EntityContainerInfo
or null if nothing is found
getEntityContainerInfo
in class EdmProvider
name
- (null for default container)
EntityContainerInfo
for the given name
ODataException
public EntitySet getEntitySet(String entityContainer, String name) throws ODataException
EdmProvider
EntitySet
or null if nothing is found
getEntitySet
in class EdmProvider
EntitySet
for the given container name and entity set name
ODataException
public FunctionImport getFunctionImport(String entityContainer, String name) throws ODataException
EdmProvider
FunctionImport
or null if nothing is found
getFunctionImport
in class EdmProvider
FunctionImport
for the given container name and function import name
ODataException
public AssociationSet getAssociationSet(String entityContainer, FullQualifiedName association, String sourceEntitySetName, String sourceEntitySetRole) throws ODataException
EdmProvider
AssociationSet
or null if nothing is found
getAssociationSet
in class EdmProvider
AssociationSet
for the given container name, association name, source entity set name and source
entity set role
ODataException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |