Package de.intarsys.tools.event
Class CreatedEvent
- java.lang.Object
-
- java.util.EventObject
-
- de.intarsys.tools.event.Event
-
- de.intarsys.tools.event.CreatedEvent
-
- All Implemented Interfaces:
IEvent
,java.io.Serializable
public class CreatedEvent extends Event
An event indicating the creation of a new instance by a factory.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreatedEvent(java.lang.Object source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventType
getEventType()
A type for this event.java.lang.Object
getInstance()
void
setInstance(java.lang.Object instance)
-
Methods inherited from class de.intarsys.tools.event.Event
consume, getName, getRc, isConsumed, isVetoed, setRc, setVeto, veto
-
-
-
-
Field Detail
-
ID
public static final EventType ID
-
-
Method Detail
-
getInstance
public java.lang.Object getInstance()
-
getEventType
public EventType getEventType()
Description copied from interface:IEvent
A type for this event.- Specified by:
getEventType
in interfaceIEvent
- Overrides:
getEventType
in classEvent
- Returns:
- A type for this event.
-
setInstance
public void setInstance(java.lang.Object instance)
-
-