public class ConfigurationRevisionEventType extends Object implements Serializable
The configuration information consists of the names of the base event type and the delta event types, as well as the names of properties that supply key values, and a strategy.
Events of the base event type arrive before delta events; Delta events arriving before the base event for the same key value are not processed, as delta events as well as base events represent new versions.
Modifier and Type | Class and Description |
---|---|
static class |
ConfigurationRevisionEventType.PropertyRevision
Enumeration for specifying a strategy to use to merge or overlay properties.
|
Constructor and Description |
---|
ConfigurationRevisionEventType()
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
addNameBaseEventType(String nameBaseEventType)
Add a base event type by it's name.
|
void |
addNameDeltaEventType(String nameDeltaEventType)
Add a delta event type by it's name.
|
String[] |
getKeyPropertyNames()
Returns the key property names, which are the names of the properties that supply key values for relating
base and delta events.
|
Set<String> |
getNameBaseEventTypes()
Returns the set of event type names that are base event types.
|
Set<String> |
getNameDeltaEventTypes()
Returns the set of names of delta event types.
|
ConfigurationRevisionEventType.PropertyRevision |
getPropertyRevision()
Returns the enumeration value defining the strategy to use for overlay or merging
multiple versions of an event (instances of base and delta events).
|
void |
setKeyPropertyNames(String[] keyPropertyNames)
Sets the key property names, which are the names of the properties that supply key values for relating
base and delta events.
|
void |
setPropertyRevision(ConfigurationRevisionEventType.PropertyRevision propertyRevision)
Sets the enumeration value defining the strategy to use for overlay or merging
multiple versions of an event (instances of base and delta events).
|
public void addNameBaseEventType(String nameBaseEventType)
nameBaseEventType
- the name of the base event type to addpublic Set<String> getNameBaseEventTypes()
public Set<String> getNameDeltaEventTypes()
public void addNameDeltaEventType(String nameDeltaEventType)
nameDeltaEventType
- the name of the delta event type to addpublic ConfigurationRevisionEventType.PropertyRevision getPropertyRevision()
public void setPropertyRevision(ConfigurationRevisionEventType.PropertyRevision propertyRevision)
propertyRevision
- strategy enumeratorpublic String[] getKeyPropertyNames()
public void setKeyPropertyNames(String[] keyPropertyNames)
keyPropertyNames
- array of names of key properties