public class BasicAlarmDefinition extends BasicPropertySet implements AlarmDefinition
BasicPropertySet.BuilderEMPTY| 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, setRawValueMapclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuilder, extend, getExtension, isExtended, isInherited, newDefaultInstance, newExtensioncontains, get, getOrDefault, getOrElsepublic 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 AlarmDefinitionpublic void setName(java.lang.String name)
setName in interface AlarmDefinitionpublic boolean isPropertyBound(Property<?> prop)
isPropertyBound in interface AlarmDefinitionpublic <T> void set(Property<T> prop, T value)
set in interface MutablePropertyValueSourceset in class BasicPropertySetpublic void set(PropertyValue propValue)
set in interface MutablePropertyValueSourceset in class BasicPropertySetpublic void setBoundProperty(Property<?> property, BoundAlarmProperty value)
setBoundProperty in interface AlarmDefinitionpublic BoundAlarmProperty getBoundProperty(Property<?> property)
getBoundProperty in interface AlarmDefinitionpublic void remove(Property<?> prop)
remove in interface MutablePropertyValueSourceremove in class BasicPropertySetpublic java.util.Collection<Property<?>> getProperties()
getProperties in interface PropertyValueSourcegetProperties in class BasicPropertySetpublic java.util.List<PropertyValue> getValues()
getValues in interface PropertyValueSourcegetValues in class BasicPropertySetpublic java.lang.String toString()
toString in class BasicPropertySetpublic boolean equals(java.lang.Object obj)
equals in class BasicPropertySetpublic void merge(PropertySet other, boolean localOnly)
Mergablemerge in interface Mergable<PropertySet>merge in interface MutablePropertyValueSource