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 AbstractExtendedPropertySet
local, parentFields inherited from interface 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 AbstractExtendedPropertySet
contains, equals, get, getCount, getExtension, getImpl, getLocal, getOrCreateLocal, getOrDefault, getOrElse, getParent, getParentProperty, getProperties, hashCode, isExtended, isInherited, iterator, merge, remove, set, set, setImpl, setLocal, setParent, toStringMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface PropertySet
extend, newDefaultInstance, newExtensionMethods inherited from interface 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.
-