org.cagrid.tools.database
Class DatabaseConfiguration

java.lang.Object
  extended by org.cagrid.tools.database.DatabaseConfiguration
All Implemented Interfaces:
java.io.Serializable

public class DatabaseConfiguration
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
DatabaseConfiguration()
           
DatabaseConfiguration(java.lang.String host, java.lang.String password, int port, java.lang.String username)
           
 
Method Summary
 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 getHost()
          Gets the host value for this DatabaseConfiguration.
 java.lang.String getPassword()
          Gets the password value for this DatabaseConfiguration.
 int getPort()
          Gets the port value for this DatabaseConfiguration.
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 getUsername()
          Gets the username value for this DatabaseConfiguration.
 int hashCode()
           
 void setHost(java.lang.String host)
          Sets the host value for this DatabaseConfiguration.
 void setPassword(java.lang.String password)
          Sets the password value for this DatabaseConfiguration.
 void setPort(int port)
          Sets the port value for this DatabaseConfiguration.
 void setUsername(java.lang.String username)
          Sets the username value for this DatabaseConfiguration.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseConfiguration

public DatabaseConfiguration()

DatabaseConfiguration

public DatabaseConfiguration(java.lang.String host,
                             java.lang.String password,
                             int port,
                             java.lang.String username)
Method Detail

getHost

public java.lang.String getHost()
Gets the host value for this DatabaseConfiguration.

Returns:
host

setHost

public void setHost(java.lang.String host)
Sets the host value for this DatabaseConfiguration.

Parameters:
host -

getPort

public int getPort()
Gets the port value for this DatabaseConfiguration.

Returns:
port

setPort

public void setPort(int port)
Sets the port value for this DatabaseConfiguration.

Parameters:
port -

getUsername

public java.lang.String getUsername()
Gets the username value for this DatabaseConfiguration.

Returns:
username

setUsername

public void setUsername(java.lang.String username)
Sets the username value for this DatabaseConfiguration.

Parameters:
username -

getPassword

public java.lang.String getPassword()
Gets the password value for this DatabaseConfiguration.

Returns:
password

setPassword

public void setPassword(java.lang.String password)
Sets the password value for this DatabaseConfiguration.

Parameters:
password -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer