|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.tools.datasource.bo.DataSource
public class DataSource
Defines an DataSource
object
Constructor Summary | |
---|---|
DataSource()
|
Method Summary | |
---|---|
boolean |
checkIsJndi()
Check is jndi. |
java.sql.Connection |
getConnection()
Gets the connection. |
java.lang.String |
getDescr()
Gets the descr. |
java.lang.Integer |
getDialectId()
Gets the dialect id. |
java.lang.String |
getDriver()
Gets the driver. |
int |
getDsId()
Gets the ds id. |
java.util.Set |
getEngines()
Gets the engines. |
java.lang.String |
getHibDialectClass()
|
java.lang.String |
getHibDialectName()
|
java.lang.String |
getJndi()
Gets the jndi. |
java.lang.String |
getLabel()
Gets the label. |
java.util.Set |
getObjects()
Gets the objects. |
java.lang.String |
getPwd()
Gets the pwd. |
java.lang.String |
getUrlConnection()
Gets the url connection. |
java.lang.String |
getUser()
Gets the user. |
void |
setDescr(java.lang.String descr)
Sets the descr. |
void |
setDialectId(java.lang.Integer dialectId)
Sets the dialect id. |
void |
setDriver(java.lang.String driver)
Sets the driver. |
void |
setDsId(int dsId)
Sets the ds id. |
void |
setEngines(java.util.Set engines)
Sets the engines. |
void |
setHibDialectClass(java.lang.String hibDialectClass)
|
void |
setHibDialectName(java.lang.String hibDialectName)
|
void |
setJndi(java.lang.String jndi)
Sets the jndi. |
void |
setLabel(java.lang.String label)
Sets the label. |
void |
setObjects(java.util.Set objects)
Sets the objects. |
void |
setPwd(java.lang.String pwd)
Sets the pwd. |
void |
setUrlConnection(java.lang.String url_connection)
Sets the url connection. |
void |
setUser(java.lang.String user)
Sets the user. |
SpagoBiDataSource |
toSpagoBiDataSource()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSource()
Method Detail |
---|
public SpagoBiDataSource toSpagoBiDataSource()
toSpagoBiDataSource
in interface IDataSource
public boolean checkIsJndi()
checkIsJndi
in interface IDataSource
public java.sql.Connection getConnection() throws javax.naming.NamingException, java.sql.SQLException, java.lang.ClassNotFoundException
getConnection
in interface IDataSource
javax.naming.NamingException
- the naming exception
java.sql.SQLException
- the SQL exception
java.lang.ClassNotFoundException
- the class not found exceptionpublic int getDsId()
IDataSource
getDsId
in interface IDataSource
public void setDsId(int dsId)
IDataSource
setDsId
in interface IDataSource
dsId
- the new ds idpublic java.lang.String getDescr()
IDataSource
getDescr
in interface IDataSource
public void setDescr(java.lang.String descr)
IDataSource
setDescr
in interface IDataSource
descr
- the new descrpublic java.lang.String getLabel()
IDataSource
getLabel
in interface IDataSource
public void setLabel(java.lang.String label)
IDataSource
setLabel
in interface IDataSource
label
- the new labelpublic java.lang.String getJndi()
IDataSource
getJndi
in interface IDataSource
public void setJndi(java.lang.String jndi)
IDataSource
setJndi
in interface IDataSource
jndi
- the new jndipublic java.lang.String getUrlConnection()
IDataSource
getUrlConnection
in interface IDataSource
public void setUrlConnection(java.lang.String url_connection)
IDataSource
setUrlConnection
in interface IDataSource
url_connection
- the new url connectionpublic java.lang.String getUser()
IDataSource
getUser
in interface IDataSource
public void setUser(java.lang.String user)
IDataSource
setUser
in interface IDataSource
user
- the new userpublic java.lang.String getPwd()
IDataSource
getPwd
in interface IDataSource
public void setPwd(java.lang.String pwd)
IDataSource
setPwd
in interface IDataSource
pwd
- the new pwdpublic java.lang.String getDriver()
IDataSource
getDriver
in interface IDataSource
public void setDriver(java.lang.String driver)
IDataSource
setDriver
in interface IDataSource
driver
- the new driverpublic java.lang.Integer getDialectId()
IDataSource
getDialectId
in interface IDataSource
public void setDialectId(java.lang.Integer dialectId)
IDataSource
setDialectId
in interface IDataSource
dialectId
- the new dialect idpublic java.util.Set getEngines()
IDataSource
getEngines
in interface IDataSource
public void setEngines(java.util.Set engines)
IDataSource
setEngines
in interface IDataSource
engines
- the new enginespublic java.util.Set getObjects()
IDataSource
getObjects
in interface IDataSource
public void setObjects(java.util.Set objects)
IDataSource
setObjects
in interface IDataSource
objects
- the new objectspublic java.lang.String getHibDialectClass()
getHibDialectClass
in interface IDataSource
public void setHibDialectClass(java.lang.String hibDialectClass)
setHibDialectClass
in interface IDataSource
public java.lang.String getHibDialectName()
getHibDialectName
in interface IDataSource
public void setHibDialectName(java.lang.String hibDialectName)
setHibDialectName
in interface IDataSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |