public class EventMetaDataBuilderImpl extends Object implements EventMetaData.EventMetaDataBuilder
EventMetaData.EventMetaDataBuilderorg.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B extends org.refcodes.mixin.UniversalIdAccessor.UniversalIdBuilder<B>>, org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutator, org.refcodes.mixin.UniversalIdAccessor.UniversalIdPropertyorg.refcodes.mixin.AliasAccessor.AliasBuilder<B extends org.refcodes.mixin.AliasAccessor.AliasBuilder<B>>, org.refcodes.mixin.AliasAccessor.AliasMutator, org.refcodes.mixin.AliasAccessor.AliasPropertyorg.refcodes.mixin.GroupAccessor.GroupBuilder<B extends org.refcodes.mixin.GroupAccessor.GroupBuilder<B>>, org.refcodes.mixin.GroupAccessor.GroupMutator, org.refcodes.mixin.GroupAccessor.GroupPropertyorg.refcodes.mixin.ChannelAccessor.ChannelBuilder<B extends org.refcodes.mixin.ChannelAccessor.ChannelBuilder<B>>, org.refcodes.mixin.ChannelAccessor.ChannelMutator, org.refcodes.mixin.ChannelAccessor.ChannelProperty| Constructor and Description |
|---|
EventMetaDataBuilderImpl()
Constructs the
EventMetaData with no properties set except the
Universal-ID. |
EventMetaDataBuilderImpl(Class<?> aPublisherType)
Constructs the
EventMetaData with the given properties. |
EventMetaDataBuilderImpl(EventMetaData aMetaData)
Constructs the
EventMetaData with the properties provided by the
given EventMetaData instance. |
EventMetaDataBuilderImpl(String aChannel)
Constructs the
EventMetaData with the given properties. |
EventMetaDataBuilderImpl(String aAlias,
String aGroup)
Constructs the
EventMetaData with the given properties. |
EventMetaDataBuilderImpl(String aAlias,
String aGroup,
String aChannel)
Constructs the
EventMetaData with the given properties. |
EventMetaDataBuilderImpl(String aAlias,
String aGroup,
String aChannel,
Class<?> aPublisherType)
Constructs the
EventMetaData with the given properties. |
EventMetaDataBuilderImpl(String aAlias,
String aGroup,
String aChannel,
String aUid,
Class<?> aPublisherType)
Constructs the
EventMetaData with the given properties. |
| 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 |
setAlias(String aAlias) |
void |
setChannel(String aChannel) |
void |
setGroup(String aGroup) |
void |
setPublisherType(Class<?> aPublisherType)
The least common denominator in event Meta-Data is the type of the
publisher which gives a hint on the source of the event.
|
void |
setUniversalId(String aUid) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithAlias, withChannel, withGroup, withPublisherType, withUniversalIdpublic EventMetaDataBuilderImpl()
EventMetaData with no properties set except the
Universal-ID. The Universal-ID is set by invoking the
UniqueIdGeneratorSingleton's UniqueIdGeneratorImpl.next()
method.public EventMetaDataBuilderImpl(Class<?> aPublisherType)
EventMetaData with the given properties. The
Universal-ID is set by invoking the UniqueIdGeneratorSingleton's
UniqueIdGeneratorImpl.next() method.aPublisherType - The type of the publisher.public EventMetaDataBuilderImpl(String aAlias, String aGroup, String aChannel, Class<?> aPublisherType)
EventMetaData with the given properties. The
Universal-ID is set by invoking the UniqueIdGeneratorSingleton's
UniqueIdGeneratorImpl.next() method.aAlias - The alias for the EventMetaData.aGroup - The group for the EventMetaData.aChannel - The channel for the EventMetaData.aPublisherType - The name for the EventMetaData.public EventMetaDataBuilderImpl(String aAlias, String aGroup, String aChannel)
EventMetaData with the given properties. The
Universal-ID is set by invoking the UniqueIdGeneratorSingleton's
UniqueIdGeneratorImpl.next() method.aAlias - The alias for the EventMetaData.aGroup - The group for the EventMetaData.aChannel - The channel for the EventMetaData.public EventMetaDataBuilderImpl(String aAlias, String aGroup)
EventMetaData with the given properties. The
Universal-ID is set by invoking the UniqueIdGeneratorSingleton's
UniqueIdGeneratorImpl.next() method.aAlias - The alias for the EventMetaData.aGroup - The group for the EventMetaData.public EventMetaDataBuilderImpl(String aChannel)
EventMetaData with the given properties. The
Universal-ID is set by invoking the UniqueIdGeneratorSingleton's
UniqueIdGeneratorImpl.next() method.aChannel - The channel for the EventMetaData.public EventMetaDataBuilderImpl(String aAlias, String aGroup, String aChannel, String aUid, Class<?> aPublisherType)
EventMetaData with the given properties.aAlias - The alias for the EventMetaData.aGroup - The group for the EventMetaData.aChannel - The channel for the EventMetaData.aUid - The Universal-ID for the EventMetaData.aPublisherType - The name for the EventMetaData.public EventMetaDataBuilderImpl(EventMetaData aMetaData)
EventMetaData with the properties provided by the
given EventMetaData instance.aMetaData - The EventMetaData instance from which to get the
properties.public String getChannel()
getChannel in interface org.refcodes.mixin.ChannelAccessorpublic String getGroup()
getGroup in interface org.refcodes.mixin.GroupAccessorpublic String getAlias()
getAlias in interface org.refcodes.mixin.AliasAccessorpublic Class<?> getPublisherType()
getPublisherType in interface EventMetaDatapublic String getUniversalId()
getUniversalId in interface org.refcodes.mixin.UniversalIdAccessorpublic void setChannel(String aChannel)
setChannel in interface org.refcodes.mixin.ChannelAccessor.ChannelMutatorpublic void setGroup(String aGroup)
setGroup in interface org.refcodes.mixin.GroupAccessor.GroupMutatorpublic void setAlias(String aAlias)
setAlias in interface org.refcodes.mixin.AliasAccessor.AliasMutatorpublic void setPublisherType(Class<?> aPublisherType)
setPublisherType in interface EventMetaData.EventMetaDataBuilderaPublisherType - The type of the publisher who published the
event.public void setUniversalId(String aUid)
setUniversalId in interface org.refcodes.mixin.UniversalIdAccessor.UniversalIdMutatorCopyright © 2018. All rights reserved.