|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrcf.core.framework.component.DynamicPropertyEvent.Default<T,P>
T - P - public static final class DynamicPropertyEvent.Default<T,P extends DynamicProperty<T>>
TODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface rcf.core.framework.component.DynamicPropertyEvent |
|---|
DynamicPropertyEvent.Caused<T,P extends DynamicProperty<T>>, DynamicPropertyEvent.Default<T,P extends DynamicProperty<T>> |
| Field Summary | |
|---|---|
protected T |
after
TODO: Javadoc |
protected T |
before
TODO: Javadoc |
protected int |
eventSequenceNumber
|
protected P |
source
TODO: Javadoc |
| Constructor Summary | |
|---|---|
DynamicPropertyEvent.Default(P _source,
T _before,
T _after)
TODO: Javadoc |
|
| Method Summary | ||
|---|---|---|
T |
after()
TODO: Javadoc |
|
T |
before()
TODO: Javadoc |
|
static
|
construct(P _source,
T _before,
T _after,
Throwable _throwableCause,
Event _eventCause)
TODO: Javadoc |
|
int |
getEventSequenceNumber()
Get the sequence number of this event relative to it's Event.source(). |
|
boolean |
isCancelled()
Test if this event has been cancelled. |
|
P |
source()
Get the EventSource this event was generated from. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final T after
protected final T before
protected final int eventSequenceNumber
protected final P extends DynamicProperty<T> source
| Constructor Detail |
|---|
public DynamicPropertyEvent.Default(P _source,
T _before,
T _after)
_source - _before - _after - | Method Detail |
|---|
public static final <T,P extends DynamicProperty<T>> DynamicPropertyEvent<T,P> construct(P _source,
T _before,
T _after,
Throwable _throwableCause,
Event _eventCause)
T - P - _source - _before - _after - _throwableCause - _eventCause -
public T after()
DynamicPropertyEvent
after in interface DynamicPropertyEvent<T,P extends DynamicProperty<T>>public T before()
DynamicPropertyEvent
before in interface DynamicPropertyEvent<T,P extends DynamicProperty<T>>public int getEventSequenceNumber()
EventEvent.source().
getEventSequenceNumber in interface EventEvent.source().public boolean isCancelled()
Event
This is used in conjunction with
Transaction.abort(). The return
value from this method has no meaning outside of the event syndicate
reporting loop. Often this method will simply return
.
Task.taskState() == Task.State.Aborted
isCancelled in interface Eventtrue if this event has been cancelled, and no longer
needs to be reported.public P source()
EventEventSource this event was generated from.
source in interface Eventsource in interface DynamicPropertyEvent<T,P extends DynamicProperty<T>>EventSource this event was generated from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||