org.apache.olingo.odata2.api.edm.provider
Class DataServices

java.lang.Object
  extended by 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


Constructor Summary
DataServices()
           
 
Method Summary
 String getDataServiceVersion()
           
 List<Schema> getSchemas()
           
 DataServices setDataServiceVersion(String dataServiceVersion)
          Sets the data service version for this DataServices
 DataServices setSchemas(List<Schema> schemas)
          Sets the schemas for this DataServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataServices

public DataServices()
Method Detail

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.