Class EdmImpl
- java.lang.Object
-
- org.apache.olingo.odata2.core.edm.EdmImpl
-
- All Implemented Interfaces:
Edm
- Direct Known Subclasses:
EdmImplProv
public abstract class EdmImpl extends Object implements Edm
-
-
Field Summary
Fields Modifier and Type Field Description protected EdmServiceMetadataedmServiceMetadata-
Fields inherited from interface org.apache.olingo.odata2.api.edm.Edm
DELIMITER, LINK_REL_EDIT, LINK_REL_EDIT_MEDIA, LINK_REL_NEXT, LINK_REL_SELF, NAMESPACE_APP_2007, NAMESPACE_ATOM_2005, NAMESPACE_D_2007_08, NAMESPACE_EDM_2006_04, NAMESPACE_EDM_2007_05, NAMESPACE_EDM_2008_01, NAMESPACE_EDM_2008_09, NAMESPACE_EDMX_2007_06, NAMESPACE_M_2007_08, NAMESPACE_REL_2007_08, NAMESPACE_REL_ASSOC_2007_08, NAMESPACE_SCHEME_2007_08, NAMESPACE_XML_1998, PREFIX_APP, PREFIX_ATOM, PREFIX_D, PREFIX_EDM, PREFIX_EDMX, PREFIX_M, PREFIX_XML
-
-
Constructor Summary
Constructors Constructor Description EdmImpl(EdmServiceMetadata edmServiceMetadata)
-
Method Summary
-
-
-
Field Detail
-
edmServiceMetadata
protected EdmServiceMetadata edmServiceMetadata
-
-
Constructor Detail
-
EdmImpl
public EdmImpl(EdmServiceMetadata edmServiceMetadata)
-
-
Method Detail
-
getEntityContainer
public EdmEntityContainer getEntityContainer(String name) throws EdmException
- Specified by:
getEntityContainerin interfaceEdm- Throws:
EdmException
-
getEntityType
public EdmEntityType getEntityType(String namespaceOrAlias, String name) throws EdmException
- Specified by:
getEntityTypein interfaceEdm- Throws:
EdmException
-
getComplexType
public EdmComplexType getComplexType(String namespaceOrAlias, String name) throws EdmException
- Specified by:
getComplexTypein interfaceEdm- Throws:
EdmException
-
getAssociation
public EdmAssociation getAssociation(String namespaceOrAlias, String name) throws EdmException
- Specified by:
getAssociationin interfaceEdm- Throws:
EdmException
-
getServiceMetadata
public EdmServiceMetadata getServiceMetadata()
- Specified by:
getServiceMetadatain interfaceEdm
-
getDefaultEntityContainer
public EdmEntityContainer getDefaultEntityContainer() throws EdmException
- Specified by:
getDefaultEntityContainerin interfaceEdm- Throws:
EdmException
-
getEntitySets
public List<EdmEntitySet> getEntitySets() throws EdmException
- Specified by:
getEntitySetsin interfaceEdm- Throws:
EdmException
-
getFunctionImports
public List<EdmFunctionImport> getFunctionImports() throws EdmException
- Specified by:
getFunctionImportsin interfaceEdm- Throws:
EdmException
-
createEntityContainer
protected abstract EdmEntityContainer createEntityContainer(String name) throws ODataException
- Throws:
ODataException
-
createEntityType
protected abstract EdmEntityType createEntityType(FullQualifiedName fqName) throws ODataException
- Throws:
ODataException
-
createComplexType
protected abstract EdmComplexType createComplexType(FullQualifiedName fqName) throws ODataException
- Throws:
ODataException
-
createAssociation
protected abstract EdmAssociation createAssociation(FullQualifiedName fqName) throws ODataException
- Throws:
ODataException
-
createEntitySets
protected abstract List<EdmEntitySet> createEntitySets() throws ODataException
- Throws:
ODataException
-
createFunctionImports
protected abstract List<EdmFunctionImport> createFunctionImports() throws ODataException
- Throws:
ODataException
-
createAliasToNamespaceInfo
protected abstract Map<String,String> createAliasToNamespaceInfo() throws ODataException
- Throws:
ODataException
-
-