fr.cnes.sitools.datasource.common
Interface SitoolsDataSource

All Known Implementing Classes:
SitoolsMongoDBDataSource, SitoolsSQLDataSource

public interface SitoolsDataSource

Interface for all Datasource

Author:
m.gond

Method Summary
 void close()
          Close the datasource
 DataSourceType getDataSourceType()
          Get the type of the datasource
 SitoolsDataSourceModel getDsModel()
          Get the corresponding SitoolsDataSourceModel
 void setDsModel(SitoolsDataSourceModel dsModel)
          Set the SitoolsDataSourceModel
 

Method Detail

getDataSourceType

DataSourceType getDataSourceType()
Get the type of the datasource

Returns:
the type of the datasource

getDsModel

SitoolsDataSourceModel getDsModel()
Get the corresponding SitoolsDataSourceModel

Returns:
the SitoolsDataSourceModel

setDsModel

void setDsModel(SitoolsDataSourceModel dsModel)
Set the SitoolsDataSourceModel

Parameters:
dsModel - the corresponding SitoolsDataSourceModel

close

void close()
Close the datasource



Copyright © 2010-2013 CNES. All Rights Reserved.