Interface BoundPropertySet
-
- All Superinterfaces:
Countable
,Extendable<PropertySet>
,java.lang.Iterable<PropertyValue>
,Mergable<PropertySet>
,MutablePropertyValueSource
,PropertySet
,PropertyValueSource
,java.io.Serializable
- All Known Subinterfaces:
TagConfiguration
,TagConfigurationModel
- All Known Implementing Classes:
BasicBoundPropertySet
,BasicTagConfiguration
,BasicTagConfigurationModel
,BoundExtendedPropertySet
,BoundPropertySetConfig
,BoundPropertySetDiff
,IntersectedBoundPropertySet
,IntersectedTagEditModel
,StorageTagConfiguration
public interface BoundPropertySet extends PropertySet
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PropertySet
extend(PropertySet parent)
If called on a child, gets the extension with the given parent.default java.lang.Object
getBoundOrDefault(Property<?> prop)
If the property is bound, return the bound value.java.util.Collection<Property<?>>
getBoundProperties()
BoundValue
getBoundValue(Property<?> prop)
default java.util.List<PropertyValue>
getValues()
boolean
isBound(Property<?> prop)
default PropertySet
newDefaultInstance()
default PropertySet
newExtension()
Called on a base object, gets a new extension with a default config object for the child.void
setBoundValue(Property<?> prop, BoundValue value)
-
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
-
-
-
-
Method Detail
-
getValues
default java.util.List<PropertyValue> getValues()
- Specified by:
getValues
in interfacePropertyValueSource
-
isBound
boolean isBound(Property<?> prop)
-
setBoundValue
void setBoundValue(Property<?> prop, BoundValue value)
-
getBoundValue
BoundValue getBoundValue(Property<?> prop)
-
getBoundOrDefault
@Nullable default java.lang.Object getBoundOrDefault(Property<?> prop)
If the property is bound, return the bound value. Otherwise return the value or default.
-
getBoundProperties
java.util.Collection<Property<?>> getBoundProperties()
-
newExtension
default PropertySet newExtension()
Description copied from interface:Extendable
Called on a base object, gets a new extension with a default config object for the child.- Specified by:
newExtension
in interfaceExtendable<PropertySet>
- Specified by:
newExtension
in interfacePropertySet
-
extend
default PropertySet extend(PropertySet parent)
Description copied from interface:Extendable
If called on a child, gets the extension with the given parent.- Specified by:
extend
in interfaceExtendable<PropertySet>
- Specified by:
extend
in interfacePropertySet
-
newDefaultInstance
default PropertySet newDefaultInstance()
- Specified by:
newDefaultInstance
in interfacePropertySet
-
-