Module org.refcodes.observer
Package org.refcodes.observer
Class AbstractPayloadMetaDataActionEvent<A,P,EM extends org.refcodes.mixin.EventMetaData,SRC>
java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
org.refcodes.observer.AbstractMetaDataActionEvent<A,EM,SRC>
org.refcodes.observer.AbstractPayloadMetaDataActionEvent<A,P,EM,SRC>
- Type Parameters:
A
- The type of the action stored in the event.P
- The type of the payload to be carried.EM
- The type of the EventMetaDataSRC
- The type of the source in question.
- All Implemented Interfaces:
org.refcodes.mixin.ActionAccessor<A>
,org.refcodes.mixin.MetaDataAccessor<EM>
,org.refcodes.mixin.PayloadAccessor<P>
,org.refcodes.mixin.SourceAccessor<SRC>
,GenericActionEvent<A,
,SRC> GenericActionMetaDataEvent<A,
,EM, SRC> GenericActionPayloadEvent<A,
,P, SRC> GenericActionPayloadMetaDataEvent<A,
,P, EM, SRC> GenericEvent<SRC>
,GenericMetaDataEvent<EM,
,SRC> GenericPayloadEvent<P,
,SRC> GenericPayloadMetaDataEvent<P,
EM, SRC>
- Direct Known Subclasses:
PayloadMetaDataActionEventImpl
public abstract class AbstractPayloadMetaDataActionEvent<A,P,EM extends org.refcodes.mixin.EventMetaData,SRC>
extends AbstractMetaDataActionEvent<A,EM,SRC>
implements GenericActionPayloadMetaDataEvent<A,P,EM,SRC>
Basic implementation of the
GenericActionPayloadMetaDataEvent
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AbstractPayloadMetaDataActionEvent.AbstractActionPayloadMetaDataEventBuilder<A,
P, EM extends org.refcodes.mixin.EventMetaData, SRC, B extends GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A, P, EM, SRC, B>> Basic implementation of theGenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder
.Nested classes/interfaces inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<A,
EM extends org.refcodes.mixin.EventMetaData, SRC, B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A, EM, SRC, B>> Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,
B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A, B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object> Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent
GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,
EM extends org.refcodes.mixin.EventMetaData, SRC, B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A, EM, SRC, B>> Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionPayloadMetaDataEvent
GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,
P, EM extends org.refcodes.mixin.EventMetaData, SRC, B extends GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A, P, EM, SRC, B>> Nested classes/interfaces inherited from interface org.refcodes.mixin.MetaDataAccessor
org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD extends Object,
B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD, B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends Object> Nested classes/interfaces inherited from interface org.refcodes.mixin.PayloadAccessor
org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends Object,
B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P, B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends Object> -
Field Summary
Fields inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
_eventMetaData
Fields inherited from class org.refcodes.observer.AbstractActionEvent
_action
-
Constructor Summary
ConstructorDescriptionAbstractPayloadMetaDataActionEvent
(A aAction, P aPayload, EM aEventMetaData, SRC aSource) Constructs an event with the given Meta-Data.AbstractPayloadMetaDataActionEvent
(A aAction, P aPayload, SRC aSource) Constructs an event with the given Meta-Data.AbstractPayloadMetaDataActionEvent
(P aPayload, EM aEventMetaData, SRC aSource) Constructs an event with the given Meta-Data.AbstractPayloadMetaDataActionEvent
(P aPayload, SRC aSource) Constructs an event with the given Meta-Data. -
Method Summary
Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
getMetaData, toString
Methods inherited from class org.refcodes.observer.AbstractActionEvent
getAction
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.mixin.ActionAccessor
getAction
Methods inherited from interface org.refcodes.mixin.MetaDataAccessor
getMetaData
Methods inherited from interface org.refcodes.mixin.PayloadAccessor
getPayloadOr
Methods inherited from interface org.refcodes.mixin.SourceAccessor
getSource
-
Constructor Details
-
AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which the event represents.aPayload
- The payload to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which the event represents.aPayload
- The payload to be carried by the event.aSource
- The source from which this event originated.
-
AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.- Parameters:
aPayload
- The payload to be carried by the event.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
AbstractPayloadMetaDataActionEvent
Constructs an event with the given Meta-Data.- Parameters:
aPayload
- The payload to be carried by the event.aSource
- The source from which this event originated.
-
-
Method Details
-
getPayload
- Specified by:
getPayload
in interfaceorg.refcodes.mixin.PayloadAccessor<A>
-