com.metamatrix.core.event
Class TargetableEvent
java.lang.Object
java.util.EventObject
com.metamatrix.core.event.TargetableEvent
- All Implemented Interfaces:
- java.io.Serializable
public class TargetableEvent
- extends java.util.EventObject
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
ObjectID |
getEventID()
Return the identifier associted with this event. |
java.lang.Object |
getTarget()
Return the target of the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TargetableEvent
public TargetableEvent(java.lang.Object source,
java.lang.Object target)
TargetableEvent
public TargetableEvent(java.lang.Object source,
java.lang.Object target,
ObjectID eventID)
getTarget
public java.lang.Object getTarget()
- Return the target of the event.
- Returns:
- the target object, which may be null
getEventID
public ObjectID getEventID()
- Return the identifier associted with this event.
- Returns:
- the identifier, which may be null
Copyright © 2009. All Rights Reserved.