java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractMetaDataEvent<org.refcodes.mixin.EventMetaData,Object>
org.refcodes.observer.MetaDataEventImpl
- All Implemented Interfaces:
org.refcodes.mixin.MetaDataAccessor<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.SourceAccessor<Object>
,Event
,GenericEvent<Object>
,GenericMetaDataEvent<org.refcodes.mixin.EventMetaData,Object>
,MetaDataEvent
public class MetaDataEventImpl extends AbstractMetaDataEvent<org.refcodes.mixin.EventMetaData,Object> implements MetaDataEvent
Basic implementation of the
Event
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>
-
Field Summary
Fields inherited from class org.refcodes.observer.AbstractMetaDataEvent
_eventMetaData
-
Constructor Summary
Constructors Constructor Description MetaDataEventImpl(Object aSource)
Constructs an event with the given Meta-Data.MetaDataEventImpl(String channel, Object aSource)
Constructs an event with the given Meta-Data.MetaDataEventImpl(org.refcodes.mixin.EventMetaData aEventMetaData, Object aSource)
Constructs an event with the given Meta-Data. -
Method Summary
Methods inherited from class org.refcodes.observer.AbstractMetaDataEvent
getMetaData, toString
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.MetaDataAccessor
getMetaData
Methods inherited from interface org.refcodes.mixin.SourceAccessor
getSource
-
Constructor Details
-
MetaDataEventImpl
Constructs an event with the given Meta-Data.- Parameters:
aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.
-
MetaDataEventImpl
Constructs an event with the given Meta-Data.- Parameters:
aSource
- The source from which this event originated.
-
MetaDataEventImpl
Constructs an event with the given Meta-Data.- Parameters:
channel
- The value forChannelAccessor.getChannel()
attribute.aSource
- The source from which this event originated.
-