com.jolbox.bonecp
Class UsernamePassword

java.lang.Object
  extended by com.jolbox.bonecp.UsernamePassword

public class UsernamePassword
extends Object

Composite key handle for datasource.

Author:
wallacew

Constructor Summary
UsernamePassword(String username, String password)
          Default constructor.
 
Method Summary
 boolean equals(Object obj)
           
 String getPassword()
          Returns the password field.
 String getUsername()
          Returns the username field.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UsernamePassword

public UsernamePassword(String username,
                        String password)
Default constructor.

Parameters:
username -
password -
Method Detail

getUsername

public String getUsername()
Returns the username field.

Returns:
username

getPassword

public String getPassword()
Returns the password field.

Returns:
password

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2009-2011 JolBox. All Rights Reserved.