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, parentFields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExtendedPropertySet(PropertySet local, PropertySet parent) -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertySetextend(PropertySet parent, PropertySet extension) Creates a new property set that is the extension on top of the parent.protected PropertySetMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtensionMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull, getValues
-
Constructor Details
-
ExtendedPropertySet
protected ExtendedPropertySet() -
ExtendedPropertySet
-
-
Method Details
-
instantiateLocal
- Specified by:
instantiateLocalin 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.
-