org.jdesktop.wonderland.common.auth
Class WonderlandIdentity

java.lang.Object
  extended by org.jdesktop.wonderland.common.auth.WonderlandIdentity
All Implemented Interfaces:
java.io.Serializable

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

An identity for the Wonderland system

Author:
jkaplan
See Also:
Serialized Form

Constructor Summary
WonderlandIdentity(java.lang.String username, java.lang.String fullname, java.lang.String email)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          WonderlandIdentities are equal if they have the same username
 java.lang.String getEmail()
           
 java.lang.String getFullName()
           
 java.lang.String getUsername()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WonderlandIdentity

public WonderlandIdentity(java.lang.String username,
                          java.lang.String fullname,
                          java.lang.String email)
Method Detail

getUsername

public java.lang.String getUsername()

getFullName

public java.lang.String getFullName()

getEmail

public java.lang.String getEmail()

toString

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

equals

public boolean equals(java.lang.Object obj)
WonderlandIdentities are equal if they have the same username

Overrides:
equals in class java.lang.Object

hashCode

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


Open Wonderland - http://openwonderland.org