rice.post
Class PostUserAddress
java.lang.Object
rice.post.PostEntityAddress
rice.post.PostUserAddress
-
All Implemented Interfaces:
- java.io.Serializable
-
public class PostUserAddress
- extends PostEntityAddress
This class represents the abstract notion of the address
of an user in the Post system.
- Version:
- $Id: PostUserAddress.java 2587 2005-06-21 21:30:21Z jeffh $
- See Also:
- Serialized Form
Method Summary |
boolean |
equals(java.lang.Object o)
|
Id |
getAddress()
Returns the address associated with this useraddress |
java.lang.String |
getName()
Returns the name of this user |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PostUserAddress
public PostUserAddress(IdFactory factory,
java.lang.String name,
Environment env)
- Constructor
getAddress
public Id getAddress()
- Returns the address associated with this useraddress
-
- Specified by:
-
getAddress
in class PostEntityAddress
-
- Returns:
- The corresponding address
getName
public java.lang.String getName()
- Returns the name of this user
-
- Returns:
- The corresponding name
toString
public java.lang.String toString()
-
- Overrides:
-
toString
in class java.lang.Object
-
equals
public boolean equals(java.lang.Object o)
-
- Overrides:
-
equals
in class java.lang.Object
-
hashCode
public int hashCode()
-
- Overrides:
-
hashCode
in class java.lang.Object
-
Copyright © 2001-2005 - Rice Pastry.