public class BasicAlarmDefinition extends BasicPropertySet implements AlarmDefinition
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 |
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, contains, firePropertyChange, get, getCount, getOrDefault, getOrElse, getRawValueMap, isExtended, isInherited, iterator, merge, merge, of, removePropertyChangeListener, removePropertyChangeListener, setDirect, setRawValueMap
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCount
merge
contains, get, getOrDefault, getOrElse, isExtended, isInherited
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 PropertySet
getProperties
in class BasicPropertySet
public java.util.List<PropertyValue> getValues()
getValues
in interface PropertySet
getValues
in class BasicPropertySet
public java.lang.String toString()
toString
in class BasicPropertySet
public boolean equals(java.lang.Object obj)
equals
in class BasicPropertySet