|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.starbase.starteam.UserEvent
An event triggered whenever a User is added, changed or deleted on the server.
UserListener,
Server.addUserListener(com.starbase.starteam.UserListener),
Serialized Form| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
java.lang.Object |
getSource()
The object on which the Event initially occurred. |
User |
getUser()
Gets the User that has been added, changed or deleted, in its new state. |
int |
hashCode()
returns a unique hash for all instances of this type |
java.lang.String |
toString()
Gets a short description of this UserEvent. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public User getUser()
Returns a User object that is not a member of the Server's User collection (that is, it is not among the User objects returned by Server.getUsers()). There may be a User in the collection with the same ID, but it would be a physically different object that is likely to have different properties.
If an application wants to refresh the User objects in the Server's User collection, it must explicitly call Server.refreshUsers().
User,
Server.getUsers(),
Server.refreshUsers()public java.lang.Object getSource()
getSource in class java.util.EventObjectpublic java.lang.String toString()
toString in class java.util.EventObjectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||