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
,java.io.Serializable
,java.lang.Iterable<PropertyValue>
- Direct Known Subclasses:
ExtendedAlarmDefinition
public class ExtendedPropertySet extends AbstractExtendedPropertySet<PropertySet>
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:
- Serialized Form
-
-
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
Constructors Modifier Constructor Description protected
ExtendedPropertySet()
ExtendedPropertySet(PropertySet local, PropertySet parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertySet
extend(PropertySet parent, PropertySet extension)
Creates a new property set that is the extension on top of the parent.protected PropertySet
instantiateLocal()
-
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 com.inductiveautomation.ignition.common.config.PropertySet
extend, newDefaultInstance, newExtension
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
getNonNull, getNonNull, getValues
-
-
-
-
Constructor Detail
-
ExtendedPropertySet
protected ExtendedPropertySet()
-
ExtendedPropertySet
public ExtendedPropertySet(PropertySet local, PropertySet parent)
-
-
Method Detail
-
instantiateLocal
protected PropertySet instantiateLocal()
- Specified by:
instantiateLocal
in classAbstractExtendedPropertySet<PropertySet>
-
extend
public static PropertySet extend(PropertySet parent, PropertySet extension)
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.
-
-