fr.cnes.sitools.solr.model
Class DBConfigDTO

java.lang.Object
  extended by fr.cnes.sitools.solr.model.DataConfigDTO
      extended by fr.cnes.sitools.solr.model.DBConfigDTO
All Implemented Interfaces:
java.io.Serializable

public class DBConfigDTO
extends DataConfigDTO

Datasource DTO class

Author:
b.fiorito
See Also:
Serialized Form

Constructor Summary
DBConfigDTO()
          Default constructor
DBConfigDTO(JDBCDataSource datasource, java.util.List<EntityDTO> entities)
          Set the datasource and entities
 
Method Summary
 JDBCDataSource getDatasource()
          Gets the datasource value
 java.util.List<EntityDTO> getEntities()
          Gets the entities value
 void setDatasource(JDBCDataSource datasource)
          Sets the value of datasource
 void setEntities(java.util.List<EntityDTO> entities)
          Sets the value of entities
 
Methods inherited from class fr.cnes.sitools.solr.model.DataConfigDTO
getDocument, setDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBConfigDTO

public DBConfigDTO()
Default constructor


DBConfigDTO

public DBConfigDTO(JDBCDataSource datasource,
                   java.util.List<EntityDTO> entities)
Set the datasource and entities

Parameters:
datasource - the JDBCdatasource
entities - list of entities fields
Method Detail

getDatasource

public JDBCDataSource getDatasource()
Gets the datasource value

Returns:
the datasource

setDatasource

public void setDatasource(JDBCDataSource datasource)
Sets the value of datasource

Parameters:
datasource - the datasource to set

getEntities

public java.util.List<EntityDTO> getEntities()
Gets the entities value

Returns:
the entities

setEntities

public void setEntities(java.util.List<EntityDTO> entities)
Sets the value of entities

Parameters:
entities - the entities to set


Copyright © 2010-2013 CNES. All Rights Reserved.