|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.services.datasource.bo.SpagoBiDataSource
public class SpagoBiDataSource
Constructor Summary | |
---|---|
SpagoBiDataSource()
Instantiates a new spago bi data source. |
|
SpagoBiDataSource(java.lang.String driver,
java.lang.String jndiName,
java.lang.String password,
java.lang.String url,
java.lang.String user,
java.lang.String label,
java.lang.String hibDialectClass,
java.lang.String hibDialectName)
Instantiates a new spago bi data source. |
Method Summary | |
---|---|
boolean |
checkIsJndi()
Check is jndi. |
boolean |
equals(java.lang.Object obj)
|
static org.apache.axis.encoding.Deserializer |
getDeserializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Deserializer. |
java.lang.String |
getDriver()
Gets the driver value for this SpagoBiDataSource. |
java.lang.String |
getHibDialectClass()
Gets the hibDialectClass value for this SpagoBiDataSource. |
java.lang.String |
getHibDialectName()
Gets the hibDialectName value for this SpagoBiDataSource. |
int |
getId()
|
java.lang.String |
getJndiName()
Gets the jndiName value for this SpagoBiDataSource. |
java.lang.String |
getLabel()
Gets the label value for this SpagoBiDataSource. |
java.lang.String |
getPassword()
Gets the password value for this SpagoBiDataSource. |
static org.apache.axis.encoding.Serializer |
getSerializer(java.lang.String mechType,
java.lang.Class _javaType,
javax.xml.namespace.QName _xmlType)
Get Custom Serializer. |
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Return type metadata object. |
java.lang.String |
getUrl()
Gets the url value for this SpagoBiDataSource. |
java.lang.String |
getUser()
Gets the user value for this SpagoBiDataSource. |
int |
hashCode()
|
java.sql.Connection |
readConnection()
Read connection. |
void |
setDriver(java.lang.String driver)
Sets the driver value for this SpagoBiDataSource. |
void |
setHibDialectClass(java.lang.String hibDialectClass)
Sets the hibDialectClass value for this SpagoBiDataSource. |
void |
setHibDialectName(java.lang.String hibDialectName)
Sets the hibDialectName value for this SpagoBiDataSource. |
void |
setId(int id)
|
void |
setJndiName(java.lang.String jndiName)
Sets the jndiName value for this SpagoBiDataSource. |
void |
setLabel(java.lang.String label)
Sets the label value for this SpagoBiDataSource. |
void |
setPassword(java.lang.String password)
Sets the password value for this SpagoBiDataSource. |
void |
setUrl(java.lang.String url)
Sets the url value for this SpagoBiDataSource. |
void |
setUser(java.lang.String user)
Sets the user value for this SpagoBiDataSource. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpagoBiDataSource()
public SpagoBiDataSource(java.lang.String driver, java.lang.String jndiName, java.lang.String password, java.lang.String url, java.lang.String user, java.lang.String label, java.lang.String hibDialectClass, java.lang.String hibDialectName)
driver
- the driverjndiName
- the jndi namepassword
- the passwordurl
- the urluser
- the userlabel
- the labelhibDialectClass
- the hib dialect classhibDialectName
- the hib dialect nameMethod Detail |
---|
public boolean checkIsJndi()
public java.sql.Connection readConnection() throws javax.naming.NamingException, java.sql.SQLException, java.lang.ClassNotFoundException
javax.naming.NamingException
- the naming exception
java.sql.SQLException
- the SQL exception
java.lang.ClassNotFoundException
- the class not found exceptionpublic java.lang.String getDriver()
public void setDriver(java.lang.String driver)
driver
- the driverpublic java.lang.String getJndiName()
public void setJndiName(java.lang.String jndiName)
jndiName
- the jndi namepublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- the passwordpublic java.lang.String getUrl()
public void setUrl(java.lang.String url)
url
- the urlpublic java.lang.String getUser()
public void setUser(java.lang.String user)
user
- the userpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label
- the labelpublic java.lang.String getHibDialectClass()
public void setHibDialectClass(java.lang.String hibDialectClass)
hibDialectClass
- the hib dialect classpublic java.lang.String getHibDialectName()
public void setHibDialectName(java.lang.String hibDialectName)
hibDialectName
- the hib dialect namepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- the mech type_javaType
- the _java type_xmlType
- the _xml type
public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
mechType
- the mech type_javaType
- the _java type_xmlType
- the _xml type
public int getId()
public void setId(int id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |