org.pentaho.platform.dataaccess.datasource.wizard.models
Class DatasourceDTO

java.lang.Object
  extended by org.pentaho.platform.dataaccess.datasource.wizard.models.DatasourceDTO
All Implemented Interfaces:
Serializable

public class DatasourceDTO
extends Object
implements Serializable

This class is used to serialize out the current state of a DataSource. It contains enough information to reconstitute the Datasource Dialog, associated models and no more. User: nbaker Date: Aug 12, 2010

See Also:
Serialized Form

Constructor Summary
DatasourceDTO()
           
 
Method Summary
 boolean equals(Object o)
           
 String getConnectionName()
           
 ModelInfo getCsvModelInfo()
           
 String getDatasourceName()
           
 DatasourceType getDatasourceType()
           
 String getQuery()
           
 int hashCode()
           
 void setConnectionName(String connectionName)
           
 void setCsvModelInfo(ModelInfo csvModelInfo)
           
 void setDatasourceName(String datasourceName)
           
 void setDatasourceType(DatasourceType datasourceType)
           
 void setQuery(String query)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatasourceDTO

public DatasourceDTO()
Method Detail

getDatasourceName

public String getDatasourceName()

setDatasourceName

public void setDatasourceName(String datasourceName)

getDatasourceType

public DatasourceType getDatasourceType()

setDatasourceType

public void setDatasourceType(DatasourceType datasourceType)

getCsvModelInfo

public ModelInfo getCsvModelInfo()

setCsvModelInfo

public void setCsvModelInfo(ModelInfo csvModelInfo)

getQuery

public String getQuery()

setQuery

public void setQuery(String query)

getConnectionName

public String getConnectionName()

setConnectionName

public void setConnectionName(String connectionName)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object