- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractMetaDataEvent<EM,SRC>
-
- org.refcodes.observer.AbstractPayloadMetaDataEvent<P,org.refcodes.mixin.EventMetaData,Object>
-
- org.refcodes.observer.PayloadMetaDataEventImpl<P>
-
- All Implemented Interfaces:
org.refcodes.mixin.MetaDataAccessor<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.PayloadAccessor<P>
,org.refcodes.mixin.SourceAccessor<Object>
,GenericEvent<Object>
,GenericMetaDataEvent<org.refcodes.mixin.EventMetaData,Object>
,GenericPayloadEvent<P,Object>
,GenericPayloadMetaDataEvent<P,org.refcodes.mixin.EventMetaData,Object>
,PayloadMetaDataEvent<P>
public class PayloadMetaDataEventImpl<P> extends AbstractPayloadMetaDataEvent<P,org.refcodes.mixin.EventMetaData,Object> implements PayloadMetaDataEvent<P>
Basic implementation of thePayloadMetaDataEvent
interface.
-
-
Nested Class Summary
-
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.AbstractPayloadMetaDataEvent
_payload
-
Fields inherited from class org.refcodes.observer.AbstractMetaDataEvent
_eventMetaData
-
-
Constructor Summary
Constructors Constructor Description PayloadMetaDataEventImpl(P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource)
Constructs an event with the given Meta-Data and payload.
-
Method Summary
-
Methods inherited from class org.refcodes.observer.AbstractPayloadMetaDataEvent
getPayload
-
Methods inherited from class org.refcodes.observer.AbstractMetaDataEvent
getMetaData, toString
-
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
-
-
-
-
Constructor Detail
-
PayloadMetaDataEventImpl
public PayloadMetaDataEventImpl(P aPayload, org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource)
Constructs an event with the given Meta-Data and payload.- 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.
-
-