org.apache.olingo.odata2.api.edm
Interface EdmServiceMetadata
public interface EdmServiceMetadata
- Do not implement this interface or derive from class.
- 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.
getMetadata
InputStream getMetadata()
throws ODataException
- Returns:
InputStream
containing the metadata document
- Throws:
ODataException
getDataServiceVersion
String getDataServiceVersion()
throws ODataException
- Returns:
- String data service version of this service
- Throws:
ODataException
getEntitySetInfos
List<EdmEntitySetInfo> getEntitySetInfos()
throws ODataException
- Returns:
- a list of
EdmEntitySetInfo
objects of all entity sets in this data model
- Throws:
ODataException
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.