Class IntersectedBoundPropertySet
- java.lang.Object
-
- com.inductiveautomation.ignition.common.config.IntersectedPropertySet
-
- com.inductiveautomation.ignition.common.config.IntersectedBoundPropertySet
-
- All Implemented Interfaces:
BoundPropertySet
,Countable
,Extendable<PropertySet>
,Mergable<PropertySet>
,MutablePropertyValueSource
,PropertySet
,PropertyValueSource
,java.io.Serializable
,java.lang.Iterable<PropertyValue>
- Direct Known Subclasses:
IntersectedTagEditModel
public class IntersectedBoundPropertySet extends IntersectedPropertySet implements BoundPropertySet
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
-
Constructor Summary
Constructors Constructor Description IntersectedBoundPropertySet(java.util.List<? extends BoundPropertySet> propertySets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<Property<?>>
getBoundProperties()
BoundValue
getBoundValue(Property<?> prop)
protected java.util.List<? extends BoundPropertySet>
internalObjects()
protected BoundValue
intersectBound(Property<?> prop)
boolean
isBound(Property<?> prop)
void
refresh()
Recalculates the intersection.void
setBoundValue(Property<?> prop, BoundValue value)
protected void
setImpl(PropertyValue propValue)
-
Methods inherited from class com.inductiveautomation.ignition.common.config.IntersectedPropertySet
contains, get, getCount, getIntersectableProperties, getOrDefault, getOrElse, getProperties, getValues, intersect, isExtended, isInherited, isPropIntersectable, iterator, merge, modifyPossibleProps, remove, set, set
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.BoundPropertySet
extend, getBoundOrDefault, getValues, newDefaultInstance, newExtension
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge, remove, set, set
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
getExtension, isExtended, isInherited
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
contains, get, getNonNull, getNonNull, getOrDefault, getOrElse, getProperties
-
-
-
-
Constructor Detail
-
IntersectedBoundPropertySet
public IntersectedBoundPropertySet(java.util.List<? extends BoundPropertySet> propertySets)
-
-
Method Detail
-
refresh
public void refresh()
Description copied from class:IntersectedPropertySet
Recalculates the intersection. Should be called when underlying data changes. Modifications to the property sets through this class do not require refresh() to be called, they are tracked separately.- Overrides:
refresh
in classIntersectedPropertySet
-
internalObjects
protected java.util.List<? extends BoundPropertySet> internalObjects()
- Overrides:
internalObjects
in classIntersectedPropertySet
-
isBound
public boolean isBound(Property<?> prop)
- Specified by:
isBound
in interfaceBoundPropertySet
-
setBoundValue
public void setBoundValue(Property<?> prop, BoundValue value)
- Specified by:
setBoundValue
in interfaceBoundPropertySet
-
intersectBound
protected BoundValue intersectBound(Property<?> prop)
-
getBoundValue
public BoundValue getBoundValue(Property<?> prop)
- Specified by:
getBoundValue
in interfaceBoundPropertySet
-
setImpl
protected void setImpl(PropertyValue propValue)
- Overrides:
setImpl
in classIntersectedPropertySet
-
getBoundProperties
public java.util.Collection<Property<?>> getBoundProperties()
- Specified by:
getBoundProperties
in interfaceBoundPropertySet
-
-