|
||||||||||
| 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.QueryEvent
An event triggered whenever a Query is added, changed or deleted on the server.
QueryListener,
Type.addFilterQueryListener(com.starbase.starteam.IFilterQueryListener),
Serialized Form| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
QueryInfo |
getQuery()
Gets the QueryInfo that has been added, changed or deleted, in its new state. |
java.lang.Object |
getSource()
The object on which the Event initially occurred. |
int |
hashCode()
returns a unique hash for all instances of this type |
java.lang.String |
toString()
Gets a short description of this Event. |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public QueryInfo getQuery()
QueryInfo.getType() will return a Type whose properties are up-to-date as of the time the event was triggered. This Type object is a physically different object from the Type object used to register the event handler. (In the case where the event handler was registered with a Server object, this Type object is physically different from the corresponding Type object in the Server's Type collection.)
If an application wants to refresh the list of queries associated with the original Type object, it must do so by explicitly calling Type.refreshFiltersAndQueries().
QueryInfo,
Type.getQueries(),
Type.refreshFiltersAndQueries()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 | |||||||||