Package org.refcodes.observer
Class AbstractActionPayloadMetaDataEvent<A,P,EM extends EventMetaData,SRC>
- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractActionEvent<A,SRC>
-
- org.refcodes.observer.AbstractActionMetaDataEvent<A,EM,SRC>
-
- org.refcodes.observer.AbstractActionPayloadMetaDataEvent<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:
ActionPayloadMetaDataEventImpl
public abstract class AbstractActionPayloadMetaDataEvent<A,P,EM extends EventMetaData,SRC> extends AbstractActionMetaDataEvent<A,EM,SRC> implements GenericActionPayloadMetaDataEvent<A,P,EM,SRC>
Basic implementation of theGenericActionPayloadMetaDataEvent
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractActionPayloadMetaDataEvent.AbstractActionPayloadMetaDataEventBuilder<A,P,EM extends 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.AbstractActionMetaDataEvent
AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A,EM extends 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 java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent
GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM extends 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 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 java.lang.Object,B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD extends java.lang.Object>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD extends java.lang.Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.PayloadAccessor
org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends java.lang.Object,B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends java.lang.Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends java.lang.Object>
-
-
Field Summary
-
Fields inherited from class org.refcodes.observer.AbstractActionEvent
_action
-
Fields inherited from class org.refcodes.observer.AbstractActionMetaDataEvent
_eventMetaData
-
-
Constructor Summary
Constructors Constructor Description AbstractActionPayloadMetaDataEvent(A aAction, P aPayload, EM aEventMetaData, SRC aSource)
Constructs an event with the given Meta-Data.AbstractActionPayloadMetaDataEvent(A aAction, P aPayload, SRC aSource)
Constructs an event with the given Meta-Data.AbstractActionPayloadMetaDataEvent(P aPayload, EM aEventMetaData, SRC aSource)
Constructs an event with the given Meta-Data.AbstractActionPayloadMetaDataEvent(P aPayload, SRC aSource)
Constructs an event with the given Meta-Data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description P
getPayload()
-
Methods inherited from class org.refcodes.observer.AbstractActionEvent
getAction
-
Methods inherited from class org.refcodes.observer.AbstractActionMetaDataEvent
getMetaData, toString
-
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
-
-
-
-
Constructor Detail
-
AbstractActionPayloadMetaDataEvent
public AbstractActionPayloadMetaDataEvent(A aAction, P aPayload, EM aEventMetaData, SRC aSource)
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.
-
AbstractActionPayloadMetaDataEvent
public AbstractActionPayloadMetaDataEvent(A aAction, P aPayload, SRC aSource)
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.
-
AbstractActionPayloadMetaDataEvent
public AbstractActionPayloadMetaDataEvent(P aPayload, EM aEventMetaData, SRC aSource)
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.
-
-