org.pentaho.platform.repository.datasource
Class Datasource

java.lang.Object
  extended by org.pentaho.platform.repository.datasource.Datasource
All Implemented Interfaces:
Serializable, IDatasource

public class Datasource
extends Object
implements IDatasource

See Also:
Serialized Form

Constructor Summary
Datasource()
           
Datasource(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getDriverClass()
           
 int getIdleConn()
           
 int getMaxActConn()
           
 String getName()
           
 String getPassword()
           
 String getQuery()
           
 String getUrl()
           
 String getUserName()
           
 long getWait()
           
 int hashCode()
           
 void setDriverClass(String driverClass)
           
 void setIdleConn(int idleConn)
           
 void setMaxActConn(int maxActConn)
           
 void setName(String name)
           
 void setPassword(String password)
           
 void setQuery(String query)
           
 void setUrl(String url)
           
 void setUserName(String userName)
           
 void setWait(long wait)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Datasource

public Datasource()

Datasource

public Datasource(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface IDatasource

setName

public void setName(String name)
Specified by:
setName in interface IDatasource

getUserName

public String getUserName()
Specified by:
getUserName in interface IDatasource

setUserName

public void setUserName(String userName)
Specified by:
setUserName in interface IDatasource

getUrl

public String getUrl()
Specified by:
getUrl in interface IDatasource

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface IDatasource

getQuery

public String getQuery()
Specified by:
getQuery in interface IDatasource

setQuery

public void setQuery(String query)
Specified by:
setQuery in interface IDatasource

getPassword

public String getPassword()
Specified by:
getPassword in interface IDatasource

setPassword

public void setPassword(String password)
Specified by:
setPassword in interface IDatasource

getMaxActConn

public int getMaxActConn()
Specified by:
getMaxActConn in interface IDatasource

setMaxActConn

public void setMaxActConn(int maxActConn)
Specified by:
setMaxActConn in interface IDatasource

getWait

public long getWait()
Specified by:
getWait in interface IDatasource

setWait

public void setWait(long wait)
Specified by:
setWait in interface IDatasource

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getIdleConn

public int getIdleConn()
Specified by:
getIdleConn in interface IDatasource

setIdleConn

public void setIdleConn(int idleConn)
Specified by:
setIdleConn in interface IDatasource

getDriverClass

public String getDriverClass()
Specified by:
getDriverClass in interface IDatasource

setDriverClass

public void setDriverClass(String driverClass)
Specified by:
setDriverClass in interface IDatasource

toString

public String toString()
Overrides:
toString in class Object