apps.mathpadapp.networkmanager.utils
Class UserIdentity

java.lang.Object
  extended by apps.mathpadapp.networkmanager.utils.UserIdentity
All Implemented Interfaces:
java.io.Serializable

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

The Class UserIdentity.

See Also:
Serialized Form

Constructor Summary
UserIdentity()
          Instantiates a new user identity.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 void generateUniqueUserIdentity()
          Generate unique user identity.
 java.lang.String getPassword()
          Gets the password.
 java.lang.String getUserIdentity()
          Gets the user identity.
 int hashCode()
           
 void setPassword(java.lang.String password)
          Sets the password.
 void setUserIdentity(java.lang.String uid)
          Sets the user identity.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserIdentity

public UserIdentity()
Instantiates a new user identity.

Method Detail

equals

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

generateUniqueUserIdentity

public void generateUniqueUserIdentity()
Generate unique user identity.


getPassword

public java.lang.String getPassword()
Gets the password.

Returns:
the password

getUserIdentity

public java.lang.String getUserIdentity()
Gets the user identity.

Returns:
the user identity

hashCode

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

setPassword

public void setPassword(java.lang.String password)
Sets the password.

Parameters:
password - the new password

setUserIdentity

public void setUserIdentity(java.lang.String uid)
Sets the user identity.

Parameters:
uid - the new user identity

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object