public class CarsEdmProvider extends EdmProvider
Modifier and Type | Field and Description |
---|---|
static FullQualifiedName |
CONTAINER_FQN |
static String |
CONTAINER_NAME |
static FullQualifiedName |
CT_ADDRESS |
static String |
ES_CARS_NAME |
static String |
ES_MANUFACTURER_NAME |
static FullQualifiedName |
ET_CAR |
static FullQualifiedName |
ET_MANUFACTURER |
static String |
NAMESPACE |
Constructor and Description |
---|
CarsEdmProvider() |
Modifier and Type | Method and Description |
---|---|
ComplexType |
getComplexType(FullQualifiedName complexTypeName)
This method should return a
ComplexType or null if nothing is found. |
EntityContainer |
getEntityContainer()
Returns the entity container of this edm
|
EntityContainerInfo |
getEntityContainerInfo(FullQualifiedName entityContainerName)
This method should return an
EntityContainerInfo or null if nothing is found |
EntitySet |
getEntitySet(FullQualifiedName entityContainer,
String entitySetName)
This method should return an
EntitySet or null if nothing is found |
EntityType |
getEntityType(FullQualifiedName entityTypeName)
This method should return an
EntityType or null if nothing is found |
List<Schema> |
getSchemas()
This method should return a collection of all
Schema |
getActionImport, getActions, getAliasInfos, getEnumType, getFunctionImport, getFunctions, getSingleton, getTerm, getTypeDefinition
public static final String NAMESPACE
public static final String CONTAINER_NAME
public static final FullQualifiedName CONTAINER_FQN
public static final FullQualifiedName ET_CAR
public static final FullQualifiedName ET_MANUFACTURER
public static final FullQualifiedName CT_ADDRESS
public static final String ES_CARS_NAME
public static final String ES_MANUFACTURER_NAME
public EntityType getEntityType(FullQualifiedName entityTypeName) throws ODataException
EdmProvider
EntityType
or null if nothing is foundgetEntityType
in class EdmProvider
EntityType
for the given nameODataException
public ComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
EdmProvider
ComplexType
or null if nothing is found.getComplexType
in class EdmProvider
ComplexType
for the given nameODataException
public EntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException
EdmProvider
EntitySet
or null if nothing is foundgetEntitySet
in class EdmProvider
entityContainer
- this EntitySet is contained inEntitySet
for the given container and entityset nameODataException
public List<Schema> getSchemas() throws ODataException
EdmProvider
Schema
getSchemas
in class EdmProvider
Schema
>ODataException
public EntityContainer getEntityContainer() throws ODataException
EdmProvider
getEntityContainer
in class EdmProvider
EntityContainer
of this edmODataException
public EntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException
EdmProvider
EntityContainerInfo
or null if nothing is foundgetEntityContainerInfo
in class EdmProvider
entityContainerName
- (null for default container)EntityContainerInfo
for the given nameODataException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.