org.nakedobjects.applib.value
Class Password

java.lang.Object
  extended by org.nakedobjects.applib.value.Password
All Implemented Interfaces:
Serializable

public class Password
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Password(String password)
           
 
Method Summary
 boolean checkPassword(String password)
           
 boolean equals(Object other)
           
 boolean equals(Password other)
           
 String getPassword()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Password

public Password(String password)
Method Detail

checkPassword

public boolean checkPassword(String password)

getPassword

public String getPassword()

equals

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

equals

public boolean equals(Password other)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.