Class UserObject

java.lang.Object
  |
  +--UserObject
All Implemented Interfaces:
java.io.Serializable

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

UserObjects represents the results of a user search on the network, where each returned result is depicted by a UserObject.

UserObjects capture the essential information about a user so that a peer can communicate with it..


Method Summary
 javax.swing.ImageIcon GetAvatar()
           
 java.lang.String GetForename()
           
 java.lang.String GetID()
           
 java.lang.String GetNickname()
           
 java.lang.String GetPipeAd()
           
 java.lang.String GetRating()
           
 java.lang.String GetStatus()
           
 java.lang.String GetSurname()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Method Detail

GetForename

public java.lang.String GetForename()

This method returns the forename of this user.


GetSurname

public java.lang.String GetSurname()

This method returns the surname of this user.


GetNickname

public java.lang.String GetNickname()

This method returns the nickname of this user.


GetID

public java.lang.String GetID()

This method returns the unique ID of this user.


GetPipeAd

public java.lang.String GetPipeAd()

This method returns the Pipe Advert of the peer that is used by this user. This advert is required so that the target peer can be contacted.


GetStatus

public java.lang.String GetStatus()

This method returns the current status of this user (when the results were returned, ie it might have changes since)


GetRating

public java.lang.String GetRating()

This method returns the rating for this user, as a result of an expertise query


GetAvatar

public javax.swing.ImageIcon GetAvatar()

This method returns the avatar that is used by this user


toString

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

This method returns the contents of a UserObject as a flat string