|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.events.KeyedEvent
wt.occurrence.OccurrenceEvent
This event is emitted by the StandardOccurrenceService
.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
COPY_USES_OCCURRENCE
A constant that defines an event marking the occurrance of copying a UsesOccurrence that is about to commense. |
private Object |
original
|
private static String |
RESOURCE
|
Fields inherited from class wt.events.KeyedEvent |
|
Constructor Summary | |
OccurrenceEvent(String eventType,
Object eventTarget,
Object original)
Construct a Keyed Event. |
|
OccurrenceEvent(String eventType,
WTKeyedMap eventTarget)
Construct Multi Object Keyed Event. |
Method Summary | |
static String |
generateEventKey(String eventType)
Generates an event key from an event type. |
Object |
getOriginal()
Gets the value of the attribute: original; The primary target of this event. |
KeyedEvent |
toMultiObjectEvent()
Supported API: false |
KeyedEvent[] |
toSingleObjectEvents()
Supported API: false |
Methods inherited from class wt.events.KeyedEvent |
generateEventKey, generateEventKey, getConceptualClassname, getEventKey, getEventTarget, getEventType, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String COPY_USES_OCCURRENCE
UsesOccurrence
that is about to commense. Listener's of this
event can stipulate that preconditions have not been satisfied by means
of throwing an exception which acts as a veto.
private Object original
Constructor Detail |
public OccurrenceEvent(String eventType, Object eventTarget, Object original)
eventType
- The type of the event, may be nulleventTarget
- The Primary target of the event, may be nulloriginal
- public OccurrenceEvent(String eventType, WTKeyedMap eventTarget)
WTMap
where key is eventTarget and the value is original
eventType
- The type of the event, may be nulleventTarget
- The Primary target of the event, may be nullMethod Detail |
public Object getOriginal()
public static String generateEventKey(String eventType)
eventType
-
public KeyedEvent[] toSingleObjectEvents() throws WTException
toSingleObjectEvents
in class KeyedEvent
WTException
public KeyedEvent toMultiObjectEvent()
toMultiObjectEvent
in class KeyedEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |