public class BasicAlarmDefinition extends BasicPropertySet implements AlarmDefinition
BasicPropertySet.Builder
EMPTY
Constructor and Description |
---|
BasicAlarmDefinition() |
BasicAlarmDefinition(AlarmDefinition copy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Map<Property<?>,BoundAlarmProperty> |
getBoundProperties() |
BoundAlarmProperty |
getBoundProperty(Property<?> property) |
java.lang.String |
getName() |
java.util.Collection<Property<?>> |
getProperties() |
java.util.List<PropertyValue> |
getValues() |
boolean |
isPropertyBound(Property<?> prop) |
void |
merge(PropertySet other,
boolean localOnly)
Merges the values from other collection into this one.
|
void |
remove(Property<?> prop) |
<T> void |
set(Property<T> prop,
T value) |
void |
set(PropertyValue propValue) |
void |
setBoundProperties(java.util.Map<Property<?>,BoundAlarmProperty> boundProperties) |
void |
setBoundProperty(Property<?> property,
BoundAlarmProperty value) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, change, coerceValue, contains, firePropertyChange, get, getCount, getExtension, getOrDefault, getOrElse, getRaw, getRawValueMap, isExtended, isInherited, iterator, of, removePropertyChangeListener, removePropertyChangeListener, setDirect, setImpl, setRawValueMap
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
builder, extend, getExtension, isExtended, isInherited, newDefaultInstance, newExtension
contains, get, getOrDefault, getOrElse
public BasicAlarmDefinition()
public BasicAlarmDefinition(AlarmDefinition copy)
public java.util.Map<Property<?>,BoundAlarmProperty> getBoundProperties()
public void setBoundProperties(java.util.Map<Property<?>,BoundAlarmProperty> boundProperties)
public java.lang.String getName()
getName
in interface AlarmDefinition
public void setName(java.lang.String name)
setName
in interface AlarmDefinition
public boolean isPropertyBound(Property<?> prop)
isPropertyBound
in interface AlarmDefinition
public <T> void set(Property<T> prop, T value)
set
in interface MutablePropertyValueSource
set
in class BasicPropertySet
public void set(PropertyValue propValue)
set
in interface MutablePropertyValueSource
set
in class BasicPropertySet
public void setBoundProperty(Property<?> property, BoundAlarmProperty value)
setBoundProperty
in interface AlarmDefinition
public BoundAlarmProperty getBoundProperty(Property<?> property)
getBoundProperty
in interface AlarmDefinition
public void remove(Property<?> prop)
remove
in interface MutablePropertyValueSource
remove
in class BasicPropertySet
public java.util.Collection<Property<?>> getProperties()
getProperties
in interface PropertyValueSource
getProperties
in class BasicPropertySet
public java.util.List<PropertyValue> getValues()
getValues
in interface PropertyValueSource
getValues
in class BasicPropertySet
public java.lang.String toString()
toString
in class BasicPropertySet
public boolean equals(java.lang.Object obj)
equals
in class BasicPropertySet
public void merge(PropertySet other, boolean localOnly)
Mergable
merge
in interface Mergable<PropertySet>
merge
in interface MutablePropertyValueSource