org.datamanager.event
Class DetachLinkEvent
java.lang.Object
|
+--org.datamanager.event.DataManagerEventAdapter
|
+--org.datamanager.event.DetachLinkEvent
- All Implemented Interfaces:
- ContainsEntityEvent, DataManagerEvent, EntityEvent, EntityValue, KernelEvent, LinkEvent, Serializable
- public class DetachLinkEvent
- extends DataManagerEventAdapter
- implements LinkEvent, ContainsEntityEvent
This event is fired when Entity.detach()
is invoked.
- Author:
- Matthew Farrellee
- See Also:
- Serialized Form
Method Summary |
Entity |
getEntity()
Reports the Entity that was detached. |
String |
toString()
A toString() method to provide a meaningful String
representation of this event. |
DetachLinkEvent
public DetachLinkEvent(EventGenerator source,
Entity detachedEntity)
- The public constructor used to create a
DetachLinkEvent
.
- Parameters:
source
- The source of this event. Usually 'this.'detachedEntity
- The Entity
that was detached.
getEntity
public Entity getEntity()
- Reports the
Entity
that was detached.
- Specified by:
getEntity
in interface ContainsEntityEvent
- Returns:
- The
Entity
that was detached.
toString
public String toString()
- A toString() method to provide a meaningful
String
representation of this event.
- Specified by:
toString
in interface DataManagerEvent
- Specified by:
toString
in class DataManagerEventAdapter
- Returns:
- A meaningful
String
representation
of this event.
See the Helium Website