Class AlarmDefinitionDiff
- java.lang.Object
-
- com.inductiveautomation.ignition.common.config.PropertySetDiff
-
- com.inductiveautomation.ignition.common.alarming.config.AlarmDefinitionDiff
-
- All Implemented Interfaces:
AlarmDefinition,Countable,Extendable<PropertySet>,Mergable<PropertySet>,MutablePropertyValueSource,PropertySet,PropertySetEdit,PropertyValueSource,java.io.Serializable,java.lang.Iterable<PropertyValue>
public class AlarmDefinitionDiff extends PropertySetDiff implements AlarmDefinition
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
-
Constructor Summary
Constructors Constructor Description AlarmDefinitionDiff(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tget(Property<T> prop)Retrieves the value of the property, or null if this set doesn't contain that property.BoundAlarmPropertygetBoundProperty(Property<?> property)java.lang.StringgetName()java.lang.StringgetOriginalName()booleanisNameChanged()booleanisPropertyBound(Property<?> prop)voidsetBoundProperty(Property<?> property, BoundAlarmProperty value)voidsetName(java.lang.String name)-
Methods inherited from class com.inductiveautomation.ignition.common.config.PropertySetDiff
compactChanges, contains, getCount, getModified, getOrDefault, getOrElse, getProperties, getRaw, getRemoved, getValues, hasChanges, isExtended, isInherited, isModified, isRemoved, iterator, remove, revert, set, set, setRaw, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge, remove, set, set
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, getExtension, isExtended, isInherited, newDefaultInstance, newExtension
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
contains, getNonNull, getNonNull, getOrDefault, getOrElse, getProperties, getValues
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAlarmDefinition
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceAlarmDefinition
-
isNameChanged
public boolean isNameChanged()
-
getOriginalName
public java.lang.String getOriginalName()
-
isPropertyBound
public boolean isPropertyBound(Property<?> prop)
- Specified by:
isPropertyBoundin interfaceAlarmDefinition
-
setBoundProperty
public void setBoundProperty(Property<?> property, BoundAlarmProperty value)
- Specified by:
setBoundPropertyin interfaceAlarmDefinition
-
getBoundProperty
public BoundAlarmProperty getBoundProperty(Property<?> property)
- Specified by:
getBoundPropertyin interfaceAlarmDefinition
-
get
public <T> T get(Property<T> prop)
Description copied from interface:PropertyValueSourceRetrieves the value of the property, or null if this set doesn't contain that property.- Specified by:
getin interfacePropertyValueSource- Overrides:
getin classPropertySetDiff
-
-