com.togethersoft.testing.shared
Class ResultEvent

Direct Known Subclasses:
DetailEvent, TaskReferenceEvent

public class ResultEvent

Event class used for notification of changes in the structure of a result.


Field Summary
 final static intADDED
           
 final static intCHANGED
           
 private intid
           
 private ObjectmySource
           

Constructor Summary
ResultEvent(Object source, int id)
          Constructs a new result event with given source and id.

Method Summary
 intgetID()
          Returnd the id of this event.
 ObjectgetSource()
          Returns the source of this event.

Field Detail

ADDED

public final static int ADDED

CHANGED

public final static int CHANGED

id

private int id

mySource

private Object mySource
Constructor Detail

ResultEvent

public ResultEvent(Object source, int id)
Constructs a new result event with given source and id.
Method Detail

getID

public int getID()
Returnd the id of this event.

getSource

public Object getSource()
Returns the source of this event.

Association Links

to Class java.lang.Object