public class CarsEdmProvider extends CsdlAbstractEdmProvider
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 |
---|---|
CsdlComplexType |
getComplexType(FullQualifiedName complexTypeName)
This method should return a
CsdlComplexType or null if nothing is found. |
CsdlEntityContainer |
getEntityContainer()
Returns the entity container of this edm
|
CsdlEntityContainerInfo |
getEntityContainerInfo(FullQualifiedName entityContainerName)
This method should return an
CsdlEntityContainerInfo or null if nothing is found |
CsdlEntitySet |
getEntitySet(FullQualifiedName entityContainer,
String entitySetName)
This method should return an
CsdlEntitySet or null if nothing is found |
CsdlEntityType |
getEntityType(FullQualifiedName entityTypeName)
This method should return an
CsdlEntityType or null if nothing is found |
List<CsdlSchema> |
getSchemas()
This method should return a collection of all
CsdlSchema |
getActionImport, getActions, getAliasInfos, getAnnoatatable, getAnnotationsGroup, 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 CsdlEntityType getEntityType(FullQualifiedName entityTypeName) throws ODataException
CsdlEdmProvider
CsdlEntityType
or null if nothing is foundgetEntityType
in interface CsdlEdmProvider
getEntityType
in class CsdlAbstractEdmProvider
CsdlEntityType
for the given nameODataException
public CsdlComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
CsdlEdmProvider
CsdlComplexType
or null if nothing is found.getComplexType
in interface CsdlEdmProvider
getComplexType
in class CsdlAbstractEdmProvider
CsdlComplexType
for the given nameODataException
public CsdlEntitySet getEntitySet(FullQualifiedName entityContainer, String entitySetName) throws ODataException
CsdlEdmProvider
CsdlEntitySet
or null if nothing is foundgetEntitySet
in interface CsdlEdmProvider
getEntitySet
in class CsdlAbstractEdmProvider
entityContainer
- this EntitySet is contained inCsdlEntitySet
for the given container and entityset nameODataException
public List<CsdlSchema> getSchemas() throws ODataException
CsdlEdmProvider
CsdlSchema
getSchemas
in interface CsdlEdmProvider
getSchemas
in class CsdlAbstractEdmProvider
CsdlSchema
>ODataException
public CsdlEntityContainer getEntityContainer() throws ODataException
CsdlEdmProvider
getEntityContainer
in interface CsdlEdmProvider
getEntityContainer
in class CsdlAbstractEdmProvider
CsdlEntityContainer
of this edmODataException
public CsdlEntityContainerInfo getEntityContainerInfo(FullQualifiedName entityContainerName) throws ODataException
CsdlEdmProvider
CsdlEntityContainerInfo
or null if nothing is foundgetEntityContainerInfo
in interface CsdlEdmProvider
getEntityContainerInfo
in class CsdlAbstractEdmProvider
entityContainerName
- (null for default container)CsdlEntityContainerInfo
for the given nameODataException
Copyright © 2013–2015 The Apache Software Foundation. All rights reserved.