ePOST API

rice.post
Class PostUserAddress

java.lang.Object
  extended by rice.post.PostEntityAddress
      extended by 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

Constructor Summary
PostUserAddress(IdFactory factory, java.lang.String name, Environment env)
          Constructor
 
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 rice.post.PostEntityAddress
getId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PostUserAddress

public PostUserAddress(IdFactory factory,
                       java.lang.String name,
                       Environment env)
Constructor

Method Detail

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

ePOST API

Copyright © 2001-2005 - Rice Pastry.