Class ApplicationBusEventBuilderImpl
- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractActionEvent<A,SRC>
-
- org.refcodes.observer.AbstractMetaDataActionEvent<A,EM,SRC>
-
- org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus,ApplicationBusEvent.ApplicationBusEventBuilder>
-
- org.refcodes.eventbus.ext.application.ApplicationBusEventBuilderImpl
-
- All Implemented Interfaces:
ApplicationBusEvent
,ApplicationBusEvent.ApplicationBusEventBuilder
,org.refcodes.eventbus.GenericEventBusEvent<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus>
,org.refcodes.eventbus.GenericEventBusEvent.GenericEventBusEventBuilder<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus,ApplicationBusEvent.ApplicationBusEventBuilder>
,org.refcodes.mixin.ActionAccessor<Enum<?>>
,org.refcodes.mixin.ActionAccessor.ActionBuilder<Enum<?>,ApplicationBusEvent.ApplicationBusEventBuilder>
,org.refcodes.mixin.ActionAccessor.ActionMutator<Enum<?>>
,org.refcodes.mixin.ActionAccessor.ActionProperty<Enum<?>>
,org.refcodes.mixin.AliasAccessor
,org.refcodes.mixin.AliasAccessor.AliasBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.AliasAccessor.AliasMutator
,org.refcodes.mixin.AliasAccessor.AliasProperty
,org.refcodes.mixin.ChannelAccessor
,org.refcodes.mixin.ChannelAccessor.ChannelBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.ChannelAccessor.ChannelMutator
,org.refcodes.mixin.ChannelAccessor.ChannelProperty
,org.refcodes.mixin.EventMetaData
,org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
,org.refcodes.mixin.GroupAccessor
,org.refcodes.mixin.GroupAccessor.GroupBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.GroupAccessor.GroupMutator
,org.refcodes.mixin.GroupAccessor.GroupProperty
,org.refcodes.mixin.MetaDataAccessor<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<org.refcodes.mixin.EventMetaData,ApplicationBusEvent.ApplicationBusEventBuilder>
,org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<org.refcodes.mixin.EventMetaData>
,org.refcodes.mixin.SourceAccessor<ApplicationBus>
,org.refcodes.mixin.UniversalIdAccessor
,org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<org.refcodes.mixin.EventMetaData.EventMetaDataBuilder>
,org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator
,org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
,org.refcodes.observer.GenericActionEvent<Enum<?>,ApplicationBus>
,org.refcodes.observer.GenericActionMetaDataEvent<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus>
,org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus,ApplicationBusEvent.ApplicationBusEventBuilder>
,org.refcodes.observer.GenericEvent<ApplicationBus>
,org.refcodes.observer.GenericMetaDataEvent<org.refcodes.mixin.EventMetaData,ApplicationBus>
public class ApplicationBusEventBuilderImpl extends org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus,ApplicationBusEvent.ApplicationBusEventBuilder> implements ApplicationBusEvent.ApplicationBusEventBuilder
Intuitive Meta-Class for theMetaDataActionEventBuilderImpl
as used by theApplicationBus
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.refcodes.observer.AbstractMetaDataActionEvent
org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<A extends Object,EM extends org.refcodes.mixin.EventMetaData,SRC extends Object,B extends org.refcodes.observer.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.mixin.AliasAccessor
org.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty
-
Nested classes/interfaces inherited from interface org.refcodes.eventbus.ext.application.ApplicationBusEvent
ApplicationBusEvent.ApplicationBusEventBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.ChannelAccessor
org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B extends org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B>>, org.refcodes.mixin.ChannelAccessor.ChannelMutator, org.refcodes.mixin.ChannelAccessor.ChannelProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.EventMetaData
org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent
org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A extends Object,EM extends org.refcodes.mixin.EventMetaData,SRC extends Object,B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.eventbus.GenericEventBusEvent
org.refcodes.eventbus.GenericEventBusEvent.GenericEventBusEventBuilder<A extends Object,META extends org.refcodes.mixin.EventMetaData,SRC extends org.refcodes.eventbus.GenericEventBus<?,?,?,?,?>,B extends org.refcodes.eventbus.GenericEventBusEvent.GenericEventBusEventBuilder<A,META,SRC,B>>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.GroupAccessor
org.refcodes.mixin.GroupAccessor.GroupBuilder<B extends org.refcodes.mixin.GroupAccessor.GroupBuilder<B>>, org.refcodes.mixin.GroupAccessor.GroupMutator, org.refcodes.mixin.GroupAccessor.GroupProperty
-
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.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.UniversalIdAccessor
org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B extends org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B>>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty
-
-
Constructor Summary
Constructors Constructor Description ApplicationBusEventBuilderImpl(Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.ApplicationBusEventBuilderImpl(Enum<?> aAction, Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.ApplicationBusEventBuilderImpl(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.ApplicationBusEventBuilderImpl(Enum<?> aAction, String aChannel, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.ApplicationBusEventBuilderImpl(Enum<?> aAction, ApplicationBus aSource)
Constructs an event with the given Meta-Data.ApplicationBusEventBuilderImpl(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
Constructs an event with the given Meta-Data.ApplicationBusEventBuilderImpl(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.ApplicationBusEventBuilderImpl(String aChannel, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.ApplicationBusEventBuilderImpl(ApplicationBus aSource)
Constructs an event with the given Meta-Data.ApplicationBusEventBuilderImpl(org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
Constructs an event with the given Meta-Data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.refcodes.mixin.EventMetaData.EventMetaDataBuilder
getMetaData()
void
setAlias(String aAlias)
void
setChannel(String aChannel)
void
setGroup(String aGroup)
void
setMetaData(org.refcodes.mixin.EventMetaData aMetaData)
void
setPublisherType(Class<?> aPublisherType)
void
setUniversalId(String aUid)
-
Methods inherited from class org.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder
getAlias, getChannel, getGroup, getPublisherType, getUniversalId, setAction
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(Enum<?> aAction, org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which this represents.aEventMetaData
- The Meta-Data to be supplied by the event.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(Enum<?> aAction, ApplicationBus aSource)
Constructs an event with the given Meta-Data.- Parameters:
aAction
- The action which this represents.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(org.refcodes.mixin.EventMetaData aEventMetaData, ApplicationBus aSource)
Constructs an event with the given Meta-Data.- Parameters:
aEventMetaData
- The Meta-Data to be supplied by the event.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(ApplicationBus aSource)
Constructs an event with the given Meta-Data.- Parameters:
aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(Enum<?> aAction, Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aAction
- The action which this represents.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(Enum<?> aAction, String aChannel, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aAction
- The action which this represents.aChannel
- The channel name on which the event is receivable.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(Enum<?> aAction, String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.- Parameters:
aAction
- The action which this represents.aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(String aChannel, ApplicationBus aSource)
Constructs an event with predefined values for the according properties retrieved from the caller's class.- Parameters:
aChannel
- The channel name on which the event is receivable.aSource
- The source from which this event originated.
-
ApplicationBusEventBuilderImpl
public ApplicationBusEventBuilderImpl(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType, ApplicationBus aSource)
Constructs an event with the given values for the according properties.- Parameters:
aAlias
- The alias property.aGroup
- The group property.aChannel
- The channel property.aUid
- The UID (Universal-TID) property.aPublisherType
- The type of the event publisher.aSource
- The source from which this event originated.
-
-
Method Detail
-
setPublisherType
public void setPublisherType(Class<?> aPublisherType)
- Specified by:
setPublisherType
in interfaceorg.refcodes.mixin.EventMetaData.EventMetaDataBuilder
-
setUniversalId
public void setUniversalId(String aUid)
- Specified by:
setUniversalId
in interfaceorg.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator
-
setAlias
public void setAlias(String aAlias)
- Specified by:
setAlias
in interfaceorg.refcodes.mixin.AliasAccessor.AliasMutator
-
setGroup
public void setGroup(String aGroup)
- Specified by:
setGroup
in interfaceorg.refcodes.mixin.GroupAccessor.GroupMutator
-
setChannel
public void setChannel(String aChannel)
- Specified by:
setChannel
in interfaceorg.refcodes.mixin.ChannelAccessor.ChannelMutator
-
setMetaData
public void setMetaData(org.refcodes.mixin.EventMetaData aMetaData)
- Specified by:
setMetaData
in interfaceorg.refcodes.mixin.MetaDataAccessor.MetaDataMutator<org.refcodes.mixin.EventMetaData>
-
getMetaData
public org.refcodes.mixin.EventMetaData.EventMetaDataBuilder getMetaData()
- Specified by:
getMetaData
in interfaceorg.refcodes.mixin.MetaDataAccessor<org.refcodes.mixin.EventMetaData>
- Overrides:
getMetaData
in classorg.refcodes.observer.AbstractMetaDataActionEvent.AbstractActionMetaDataEventBuilder<Enum<?>,org.refcodes.mixin.EventMetaData,ApplicationBus,ApplicationBusEvent.ApplicationBusEventBuilder>
-
-