Package org.apache.olingo.odata2.api.edm
Interface EdmServiceMetadata
-
public interface EdmServiceMetadata@org.apache.olingo.odata2.DoNotImplement This interface gives access to the metadata of a service, the calculated Data Service Version and an info list of all entity sets inside this EntityDataModel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDataServiceVersion()List<EdmEntitySetInfo>getEntitySetInfos()InputStreamgetMetadata()
-
-
-
Method Detail
-
getMetadata
InputStream getMetadata() throws ODataException
- Returns:
InputStreamcontaining the metadata document- Throws:
ODataException- Caso ocorra uma exceção EDM
-
getDataServiceVersion
String getDataServiceVersion() throws ODataException
- Returns:
- String data service version of this service
- Throws:
ODataException- Caso ocorra uma exceção EDM
-
getEntitySetInfos
List<EdmEntitySetInfo> getEntitySetInfos() throws ODataException
- Returns:
- a list of
EdmEntitySetInfoobjects of all entity sets in this data model - Throws:
ODataException- Caso ocorra uma exceção EDM
-
-