Interface ServiceDocument
public interface ServiceDocument
REST resource for an ODataServiceDocument.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets base URI.getEntitySetByName
(String name) Gets top level entity set with given name.Gets top level entity sets.Gets top level function import set with given name.Gets top level function imports.Gets related service documents.getSingletonByName
(String name) Gets top level singleton with given name.Gets top level singletons.getTitle()
-
Method Details
-
getTitle
String getTitle() -
getBaseURI
URI getBaseURI()Gets base URI.- Returns:
- base URI.
-
getEntitySets
List<ServiceDocumentItem> getEntitySets()Gets top level entity sets.- Returns:
- top level entity sets.
-
getEntitySetByName
Gets top level entity set with given name.- Parameters:
name
- entity set name- Returns:
- entity set with given name if found, otherwise null
-
getFunctionImports
List<ServiceDocumentItem> getFunctionImports()Gets top level function imports.- Returns:
- top level function imports.
-
getFunctionImportByName
Gets top level function import set with given name.- Parameters:
name
- function import name- Returns:
- function import with given name if found, otherwise null
-
getSingletons
List<ServiceDocumentItem> getSingletons()Gets top level singletons.- Returns:
- top level singletons.
-
getSingletonByName
Gets top level singleton with given name.- Parameters:
name
- singleton name- Returns:
- singleton with given name if found, otherwise null
-
getRelatedServiceDocuments
List<ServiceDocumentItem> getRelatedServiceDocuments()Gets related service documents.- Returns:
- related service documents.
-