Class ExtendedPropertySet
java.lang.Object
com.inductiveautomation.ignition.common.config.AbstractExtendedPropertySet<PropertySet>
com.inductiveautomation.ignition.common.config.ExtendedPropertySet
- All Implemented Interfaces:
Countable
,Extendable<PropertySet>
,Mergable<PropertySet>
,MutablePropertyValueSource
,PropertySet
,PropertyValueSource
,Serializable
,Iterable<PropertyValue>
- Direct Known Subclasses:
ExtendedAlarmDefinition
A property set that actually consists of two sets- a local one, and it's "parent". Values will be pulled from local
first, and parent if they don't exist in local. Parent is never modified, all changes only apply to local.
- See Also:
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.config.AbstractExtendedPropertySet
local, parent
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ExtendedPropertySet
(PropertySet local, PropertySet parent) -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertySet
extend
(PropertySet parent, PropertySet extension) Creates a new property set that is the extension on top of the parent.protected PropertySet
Methods inherited from class com.inductiveautomation.ignition.common.config.AbstractExtendedPropertySet
contains, get, getCount, getExtension, getImpl, getLocal, getOrCreateLocal, getOrDefault, getOrElse, getParent, getParentProperty, getProperties, isExtended, isInherited, iterator, merge, remove, set, set, setImpl, setLocal, setParent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtension
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull, getValues
-
Constructor Details
-
ExtendedPropertySet
protected ExtendedPropertySet() -
ExtendedPropertySet
-
-
Method Details
-
instantiateLocal
- Specified by:
instantiateLocal
in classAbstractExtendedPropertySet<PropertySet>
-
extend
Creates a new property set that is the extension on top of the parent. If the parent is null, the extension is returned directly, otherwise an ExtensionPropertySet is returned. That object will instantiate a new basic property set if local happens to be null.
-