Class PayloadBusEventBuilderImpl<P>

  • All Implemented Interfaces:
    PayloadBusEvent.PayloadEventBuilder<P>, org.refcodes.mixin.ActionAccessor<P>, org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>, org.refcodes.mixin.ActionAccessor.ActionMutator<P>, org.refcodes.mixin.ActionAccessor.ActionProperty<P>, org.refcodes.mixin.AliasAccessor, org.refcodes.mixin.AliasAccessor.AliasBuilder<P>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasProperty, org.refcodes.mixin.ChannelAccessor, org.refcodes.mixin.ChannelAccessor.ChannelBuilder<P>, org.refcodes.mixin.ChannelAccessor.ChannelMutator, org.refcodes.mixin.ChannelAccessor.ChannelProperty, org.refcodes.mixin.GroupAccessor, org.refcodes.mixin.GroupAccessor.GroupBuilder<P>, org.refcodes.mixin.GroupAccessor.GroupMutator, org.refcodes.mixin.GroupAccessor.GroupProperty, org.refcodes.mixin.MetaDataAccessor<P>, org.refcodes.mixin.MetaDataAccessor.MetaDataBuilder<EM,B>, org.refcodes.mixin.MetaDataAccessor.MetaDataMutator<P>, org.refcodes.mixin.MetaDataAccessor.MetaDataProperty<P>, org.refcodes.mixin.PayloadAccessor<P>, org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P>, org.refcodes.mixin.SourceAccessor<P>, org.refcodes.mixin.UniversalIdAccessor, org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<P>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdProperty, org.refcodes.observer.ActionEvent, org.refcodes.observer.ActionMetaDataEvent, org.refcodes.observer.ActionPayloadEvent<P>, org.refcodes.observer.ActionPayloadMetaDataEvent<P>, org.refcodes.observer.ActionPayloadMetaDataEvent.ActionPayloadMetaDataEventBuilder<P>, org.refcodes.observer.Event, org.refcodes.observer.EventMetaData, org.refcodes.observer.EventMetaData.EventMetaDataBuilder, org.refcodes.observer.GenericActionEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData>, org.refcodes.observer.GenericActionMetaDataEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,java.lang.Object>, org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<java.lang.Enum<?>,org.refcodes.observer.EventMetaData,java.lang.Object,org.refcodes.observer.ActionPayloadMetaDataEvent.ActionPayloadMetaDataEventBuilder<P>>, org.refcodes.observer.GenericActionPayloadEvent<A,P,SRC>, org.refcodes.observer.GenericActionPayloadMetaDataEvent<java.lang.Enum<?>,P,org.refcodes.observer.EventMetaData,java.lang.Object>, org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<java.lang.Enum<?>,P,org.refcodes.observer.EventMetaData,java.lang.Object,org.refcodes.observer.ActionPayloadMetaDataEvent.ActionPayloadMetaDataEventBuilder<P>>, org.refcodes.observer.GenericEvent<P>, org.refcodes.observer.GenericMetaDataEvent<java.lang.Enum<?>,org.refcodes.observer.EventMetaData>, org.refcodes.observer.GenericPayloadEvent<P,SRC>, org.refcodes.observer.GenericPayloadMetaDataEvent<P,org.refcodes.observer.EventMetaData,java.lang.Object>, org.refcodes.observer.MetaDataEvent, org.refcodes.observer.PayloadEvent<P>, org.refcodes.observer.PayloadMetaDataEvent<P>


    public class PayloadBusEventBuilderImpl<P>
    extends org.refcodes.observer.ActionPayloadMetaDataEventBuilderImpl<P>
    implements PayloadBusEvent.PayloadEventBuilder<P>
    Intuitive Meta-Class for the ActionPayloadMetaDataEventBuilderImpl as used by the ApplicationBus.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.refcodes.observer.AbstractActionMetaDataEvent

        org.refcodes.observer.AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder<A extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.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 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.ActionMetaDataEvent

        org.refcodes.observer.ActionMetaDataEvent.ActionMetaDataEventBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.observer.ActionPayloadMetaDataEvent

        org.refcodes.observer.ActionPayloadMetaDataEvent.ActionPayloadMetaDataEventBuilder<P extends java.lang.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.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.observer.EventMetaData

        org.refcodes.observer.EventMetaData.EventMetaDataBuilder
      • Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionMetaDataEvent

        org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.Object,B extends org.refcodes.observer.GenericActionMetaDataEvent.GenericActionMetaDataEventBuilder<A,EM,SRC,B>>
      • Nested classes/interfaces inherited from interface org.refcodes.observer.GenericActionPayloadMetaDataEvent

        org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A extends java.lang.Object,P extends java.lang.Object,EM extends org.refcodes.observer.EventMetaData,SRC extends java.lang.Object,B extends org.refcodes.observer.GenericActionPayloadMetaDataEvent.GenericActionPayloadMetaDataEventBuilder<A,P,EM,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 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>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.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
    • 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
      PayloadBusEventBuilderImpl​(java.lang.Class<?> aPublisherType, java.lang.Object aSource)
      Constructs an event with predefined values for the according properties retrieved from the caller's class.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, java.lang.Class<?> aPublisherType, java.lang.Object aSource)
      Constructs an event with predefined values for the according properties retrieved from the caller's class.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, java.lang.String aChannel, java.lang.Object aSource)
      Constructs an event with predefined values for the according properties retrieved from the caller's class.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, java.lang.Object aSource)
      Constructs an event with the given values for the according properties.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, org.refcodes.observer.EventMetaData aEventMetaData, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, P aPayload, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction, P aPayload, org.refcodes.observer.EventMetaData aEventMetaData, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(java.lang.String aChannel, java.lang.Object aSource)
      Constructs an event with predefined values for the according properties retrieved from the caller's class.
      PayloadBusEventBuilderImpl​(java.lang.String aAlias, java.lang.String aGroup, java.lang.String aChannel, java.lang.String aUid, java.lang.Class<?> aPublisherType, java.lang.Object aSource)
      Constructs an event with the given values for the according properties.
      PayloadBusEventBuilderImpl​(org.refcodes.observer.EventMetaData aEventMetaData, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(P aPayload, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
      PayloadBusEventBuilderImpl​(P aPayload, org.refcodes.observer.EventMetaData aEventMetaData, java.lang.Object aSource)
      Constructs an event with the given Meta-Data.
    • Method Summary

      • Methods inherited from class org.refcodes.observer.AbstractActionEvent

        getAction
      • Methods inherited from class org.refcodes.observer.AbstractActionMetaDataEvent

        toString
      • Methods inherited from class org.refcodes.observer.AbstractActionMetaDataEvent.AbstractActionMetaDataEventBuilder

        getAlias, getChannel, getGroup, getPublisherType, getUniversalId, setAction
      • Methods inherited from class org.refcodes.observer.AbstractActionPayloadMetaDataEvent.AbstractActionPayloadMetaDataEventBuilder

        getPayload, setPayload
      • Methods inherited from class org.refcodes.observer.AbstractEvent

        getSource
      • Methods inherited from interface org.refcodes.mixin.ActionAccessor

        getAction
      • Methods inherited from interface org.refcodes.mixin.ActionAccessor.ActionMutator

        setAction
      • Methods inherited from interface org.refcodes.observer.ActionPayloadMetaDataEvent.ActionPayloadMetaDataEventBuilder

        withAction, withAlias, withChannel, withGroup, withMetaData, withPayload, withPublisherType, withUniversalId
      • Methods inherited from class org.refcodes.observer.ActionPayloadMetaDataEventBuilderImpl

        getMetaData, setAlias, setChannel, setGroup, setMetaData, setPublisherType, setUniversalId
      • Methods inherited from interface org.refcodes.mixin.AliasAccessor

        getAlias
      • Methods inherited from interface org.refcodes.mixin.AliasAccessor.AliasMutator

        setAlias
      • Methods inherited from interface org.refcodes.mixin.ChannelAccessor

        getChannel
      • Methods inherited from interface org.refcodes.mixin.ChannelAccessor.ChannelMutator

        setChannel
      • Methods inherited from interface org.refcodes.observer.EventMetaData

        getPublisherType
      • Methods inherited from interface org.refcodes.observer.EventMetaData.EventMetaDataBuilder

        setPublisherType
      • Methods inherited from interface org.refcodes.mixin.GroupAccessor

        getGroup
      • Methods inherited from interface org.refcodes.mixin.GroupAccessor.GroupMutator

        setGroup
      • Methods inherited from interface org.refcodes.mixin.MetaDataAccessor

        getMetaData
      • Methods inherited from interface org.refcodes.mixin.MetaDataAccessor.MetaDataMutator

        setMetaData
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.refcodes.mixin.PayloadAccessor

        getPayload
      • Methods inherited from interface org.refcodes.mixin.PayloadAccessor.PayloadMutator

        setPayload
      • Methods inherited from interface org.refcodes.mixin.SourceAccessor

        getSource
      • Methods inherited from interface org.refcodes.mixin.UniversalIdAccessor

        getUniversalId
      • Methods inherited from interface org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator

        setUniversalId
    • Constructor Detail

      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          java.lang.Class<?> aPublisherType,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          java.lang.String aChannel,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          java.lang.String aAlias,
                                          java.lang.String aGroup,
                                          java.lang.String aChannel,
                                          java.lang.String aUid,
                                          java.lang.Class<?> aPublisherType,
                                          java.lang.Object 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-ID) property.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          org.refcodes.observer.EventMetaData aEventMetaData,
                                          java.lang.Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which this represents.
        aEventMetaData - The Meta-Data to by supplied by the event.
        aSource - The source from which this event originated.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          java.lang.Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aAction - The action which this represents.
        aSource - The source from which this event originated.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          P aPayload,
                                          org.refcodes.observer.EventMetaData aEventMetaData,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Enum<?> aAction,
                                          P aPayload,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Class<?> aPublisherType,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.String aChannel,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.String aAlias,
                                          java.lang.String aGroup,
                                          java.lang.String aChannel,
                                          java.lang.String aUid,
                                          java.lang.Class<?> aPublisherType,
                                          java.lang.Object 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-ID) property.
        aPublisherType - The type of the event publisher.
        aSource - The source from which this event originated.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(org.refcodes.observer.EventMetaData aEventMetaData,
                                          java.lang.Object aSource)
        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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(java.lang.Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aSource - The source from which this event originated.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(P aPayload,
                                          org.refcodes.observer.EventMetaData aEventMetaData,
                                          java.lang.Object 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.
      • PayloadBusEventBuilderImpl

        public PayloadBusEventBuilderImpl​(P aPayload,
                                          java.lang.Object aSource)
        Constructs an event with the given Meta-Data.
        Parameters:
        aPayload - The payload to be carried by the event.
        aSource - The source from which this event originated.