A
- The type of the action stored in the event.EM
- The type of the EventMetaDataSRC
- The type of the source in question.B
- The type of the builder to be returned by the builder methods.public abstract static class AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A,EM extends EventMetaData,SRC,B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>> extends AbstractActionMetaDataEvent<A,EM,SRC> implements GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>
GenericActionMetaDataEventBuilder
interface
for easily creating ActionMetaDataEvent
instances.AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A,EM extends EventMetaData,SRC,B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM extends EventMetaData,SRC,B extends GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A>, org.refcodes.mixin.ActionAccessor.ActionProperty<A>
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>
org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B extends org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<MD,B>>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<MD>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<MD>
EventMetaData.EventMetaDataBuilder
org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B extends org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B>>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
org.refcodes.mixin.GroupAccessor.GroupBuilder<B extends org.refcodes.mixin.GroupAccessor.GroupBuilder<B>>, org.refcodes.mixin.GroupAccessor.GroupMutator, org.refcodes.mixin.GroupAccessor.GroupProperty
org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B extends org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B>>, org.refcodes.mixin.ChannelAccessor.ChannelMutator, org.refcodes.mixin.ChannelAccessor.ChannelProperty
_eventMetaData
_action
Constructor and Description |
---|
AbstractActionMetaDataEventBuilder(A aAction,
EM aEventMetaData,
SRC aSource)
Constructs an event with the given Meta-Data.
|
AbstractActionMetaDataEventBuilder(A aAction,
SRC aSource)
Constructs an event with the given Meta-Data.
|
AbstractActionMetaDataEventBuilder(EM aEventMetaData,
SRC aSource)
Constructs an event with the given Meta-Data.
|
AbstractActionMetaDataEventBuilder(SRC aSource)
Constructs an event with the given Meta-Data.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlias() |
String |
getChannel() |
String |
getGroup() |
Class<?> |
getPublisherType()
The least common denominator in event Meta-Data is the type of the
publisher which gives a hint on the source of the event.
|
String |
getUniversalId() |
void |
setAction(A aAction) |
getMetaData, toString
getAction
getSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
withAction, withAlias, withChannel, withGroup, withMetaData, withPublisherType, withUniversalId
setPublisherType
public AbstractActionMetaDataEventBuilder(EM aEventMetaData, SRC aSource)
aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.public AbstractActionMetaDataEventBuilder(A aAction, EM aEventMetaData, SRC aSource)
aAction
- The action which the event represents.aEventMetaData
- The Meta-Data to by supplied by the event.aSource
- The source from which this event originated.public AbstractActionMetaDataEventBuilder(A aAction, SRC aSource)
aAction
- The action which the event represents.aSource
- The source from which this event originated.public AbstractActionMetaDataEventBuilder(SRC aSource)
aSource
- The source from which this event originated.public Class<?> getPublisherType()
getPublisherType
in interface EventMetaData
public String getUniversalId()
getUniversalId
in interface org.refcodes.mixin.UniversalIdAccessor
public String getAlias()
getAlias
in interface org.refcodes.mixin.AliasAccessor
public String getGroup()
getGroup
in interface org.refcodes.mixin.GroupAccessor
public String getChannel()
getChannel
in interface org.refcodes.mixin.ChannelAccessor
Copyright © 2018. All rights reserved.