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, getAnnotatable, 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
entityTypeName
- full qualified name of entity typeODataException
- the o data exceptionpublic CsdlComplexType getComplexType(FullQualifiedName complexTypeName) throws ODataException
CsdlEdmProvider
CsdlComplexType
or null if nothing is found.getComplexType
in interface CsdlEdmProvider
getComplexType
in class CsdlAbstractEdmProvider
complexTypeName
- full qualified name of complex typeODataException
- the o data exceptionpublic 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 inentitySetName
- name of entity setODataException
- the o data exceptionpublic List<CsdlSchema> getSchemas() throws ODataException
CsdlEdmProvider
CsdlSchema
getSchemas
in interface CsdlEdmProvider
getSchemas
in class CsdlAbstractEdmProvider
ODataException
- the o data exceptionpublic CsdlEntityContainer getEntityContainer() throws ODataException
CsdlEdmProvider
getEntityContainer
in interface CsdlEdmProvider
getEntityContainer
in class CsdlAbstractEdmProvider
ODataException
- the o data exceptionpublic 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)ODataException
- the o data exceptionCopyright © 2013–2015 The Apache Software Foundation. All rights reserved.