org.apache.olingo.odata2.api.edm.provider
Class DataServices
java.lang.Object
org.apache.olingo.odata2.api.edm.provider.DataServices
public class DataServices
- extends Object
Objects of this class represent the data service. They contain all schemas of the EDM as well as the
dataServiceVersion
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataServices
public DataServices()
setSchemas
public DataServices setSchemas(List<Schema> schemas)
- Sets the schemas for this
DataServices
- Parameters:
schemas
-
- Returns:
DataServices
for method chaining
setDataServiceVersion
public DataServices setDataServiceVersion(String dataServiceVersion)
- Sets the data service version for this
DataServices
- Parameters:
dataServiceVersion
-
- Returns:
DataServices
for method chaining
getSchemas
public List<Schema> getSchemas()
- Returns:
- List<
Schema
>
getDataServiceVersion
public String getDataServiceVersion()
- Returns:
- String data service version
Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.