Class BoundPropertySetDiff
java.lang.Object
com.inductiveautomation.ignition.common.config.PropertySetDiff
com.inductiveautomation.ignition.common.config.BoundPropertySetDiff
- All Implemented Interfaces:
- BoundPropertySet,- Countable,- Extendable<PropertySet>,- Mergable<PropertySet>,- MutablePropertyValueSource,- PropertySet,- PropertySetEdit,- PropertyValueSource,- Serializable,- Iterable<PropertyValue>
- See Also:
- 
Field SummaryFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySetEMPTY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCollection<Property<?>>getBoundValue(Property<?> prop) intgetCount()For the diff, returns the combined size of modified and removed, so it can be used to see if there are any changes, as the value will be >0.Collection<Property<?>>Returns the opaque PropertyValue objects.booleanbooleanbooleanisModified(Property<?> prop) protected Map<Property<?>,BoundValue> voidvoidRemoves the property from the modified map, but unlike "remove", doesn't add it to the removed set.voidsetBoundValue(Property<?> prop, BoundValue value) protected voidMethods inherited from class com.inductiveautomation.ignition.common.config.PropertySetDiffcompactChanges, get, getOrDefault, getOrElse, getRaw, getRemoved, isExtended, isInherited, isRemoved, iterator, set, set, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.config.BoundPropertySetextend, getBoundOrDefault, newDefaultInstance, newExtensionMethods inherited from interface java.lang.IterableforEach, iterator, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSourcemerge, set, setMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertySetgetExtension, isExtended, isInheritedMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSourceget, getNonNull, getNonNull, getOrDefault, getOrElse
- 
Constructor Details- 
BoundPropertySetDiffpublic BoundPropertySetDiff()
- 
BoundPropertySetDiff
 
- 
- 
Method Details- 
modifiedBindings
- 
isBound- Specified by:
- isBoundin interface- BoundPropertySet
 
- 
isModified- Specified by:
- isModifiedin interface- PropertySetEdit
- Overrides:
- isModifiedin class- PropertySetDiff
 
- 
getModified- Overrides:
- getModifiedin class- PropertySetDiff
 
- 
setBoundValue- Specified by:
- setBoundValuein interface- BoundPropertySet
 
- 
remove- Specified by:
- removein interface- MutablePropertyValueSource
- Overrides:
- removein class- PropertySetDiff
 
- 
setRaw- Overrides:
- setRawin class- PropertySetDiff
 
- 
getBoundValue- Specified by:
- getBoundValuein interface- BoundPropertySet
 
- 
getBoundProperties- Specified by:
- getBoundPropertiesin interface- BoundPropertySet
 
- 
revertDescription copied from class:PropertySetDiffRemoves the property from the modified map, but unlike "remove", doesn't add it to the removed set.- Specified by:
- revertin interface- PropertySetEdit
- Overrides:
- revertin class- PropertySetDiff
 
- 
contains- Specified by:
- containsin interface- PropertyValueSource
- Overrides:
- containsin class- PropertySetDiff
- Returns:
- True if the source contains a value for prop.
 
- 
getCountpublic int getCount()Description copied from class:PropertySetDiffFor the diff, returns the combined size of modified and removed, so it can be used to see if there are any changes, as the value will be >0.- Specified by:
- getCountin interface- Countable
- Overrides:
- getCountin class- PropertySetDiff
 
- 
getProperties- Specified by:
- getPropertiesin interface- PropertyValueSource
- Overrides:
- getPropertiesin class- PropertySetDiff
 
- 
hasChangespublic boolean hasChanges()- Overrides:
- hasChangesin class- PropertySetDiff
 
- 
getValuesDescription copied from interface:PropertyValueSourceReturns the opaque PropertyValue objects. This can be useful when you want to avoid the strict type checking of the value, and it's important to note that if the property is bound, the value will be a BoundValue. Be very careful about overriding, and make sure to maintain the methodology of using getProperties to iterate and get (or getOrDefault), to get the value, because those are all handled differently by BoundPropertySets, ExtendedPropertySets, etc.- Specified by:
- getValuesin interface- BoundPropertySet
- Specified by:
- getValuesin interface- PropertyValueSource
- Overrides:
- getValuesin class- PropertySetDiff
 
 
-