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> T
get(Property<T> prop)
Retrieves the value of the property, or null if this set doesn't contain that property.BoundAlarmProperty
getBoundProperty(Property<?> property)
java.lang.String
getName()
java.lang.String
getOriginalName()
boolean
isNameChanged()
boolean
isPropertyBound(Property<?> prop)
void
setBoundProperty(Property<?> property, BoundAlarmProperty value)
void
setName(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:
getName
in interfaceAlarmDefinition
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceAlarmDefinition
-
isNameChanged
public boolean isNameChanged()
-
getOriginalName
public java.lang.String getOriginalName()
-
isPropertyBound
public boolean isPropertyBound(Property<?> prop)
- Specified by:
isPropertyBound
in interfaceAlarmDefinition
-
setBoundProperty
public void setBoundProperty(Property<?> property, BoundAlarmProperty value)
- Specified by:
setBoundProperty
in interfaceAlarmDefinition
-
getBoundProperty
public BoundAlarmProperty getBoundProperty(Property<?> property)
- Specified by:
getBoundProperty
in interfaceAlarmDefinition
-
get
public <T> T get(Property<T> prop)
Description copied from interface:PropertyValueSource
Retrieves the value of the property, or null if this set doesn't contain that property.- Specified by:
get
in interfacePropertyValueSource
- Overrides:
get
in classPropertySetDiff
-
-