Interface AlarmConfiguration
- All Superinterfaces:
- Countable,- Extendable<AlarmConfiguration>,- Intersectable<AlarmConfiguration>,- Mergable<AlarmConfiguration>,- Serializable
- All Known Implementing Classes:
- AlarmConfigurationConfig,- AlarmConfigurationDiff,- BasicAlarmConfiguration,- ExtendedAlarmConfiguration,- IntersectedAlarmConfiguration
public interface AlarmConfiguration
extends Serializable, Countable, Mergable<AlarmConfiguration>, Extendable<AlarmConfiguration>, Intersectable<AlarmConfiguration>
An alarm configuration is simply a set of AlarmDefinitions (that is, the definitions for various alarms) for a
 specific object. However, the definition is an interface, because the AlarmConfiguration supports the Config pattern
 of editing, and individual alarm config overridding for UDTs.
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(AlarmDefinition definition) booleandefault AlarmConfigurationextend(AlarmConfiguration parent) If called on a child, gets the extension with the given parent.default AlarmConfigurationThis returns an object that represents the value only for the most "local" level.default AlarmConfigurationintersect(List<AlarmConfiguration> values) booleanisInherited(AlarmDefinition definition) booleanisOverridden(AlarmDefinition definition) default voidmerge(AlarmConfiguration other, boolean localOnly) Merges the values from other collection into this one.default AlarmConfigurationCalled on a base object, gets a new extension with a default config object for the child.void
- 
Method Details- 
getDefinitionsList<AlarmDefinition> getDefinitions()
- 
get
- 
add
- 
remove
- 
contains
- 
isOverridden
- 
isInherited
- 
newExtensionDescription copied from interface:ExtendableCalled on a base object, gets a new extension with a default config object for the child.- Specified by:
- newExtensionin interface- Extendable<AlarmConfiguration>
 
- 
extendDescription copied from interface:ExtendableIf called on a child, gets the extension with the given parent.- Specified by:
- extendin interface- Extendable<AlarmConfiguration>
 
- 
getExtensionDescription copied from interface:ExtendableThis returns an object that represents the value only for the most "local" level. That is, this is the difference between the inherited base and the current extension. Complex objects should ensure that trait is true for all aspects of the returned value.- Specified by:
- getExtensionin interface- Extendable<AlarmConfiguration>
 
- 
intersect- Specified by:
- intersectin interface- Intersectable<AlarmConfiguration>
 
- 
mergeDescription copied from interface:MergableMerges the values from other collection into this one. Replaces any currently existing value with those from the other set.- Specified by:
- mergein interface- Mergable<AlarmConfiguration>
 
 
-