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 PropertySetextend(PropertySet parent)If called on a child, gets the extension with the given parent.default java.lang.ObjectgetBoundOrDefault(Property<?> prop)If the property is bound, return the bound value.java.util.Collection<Property<?>>getBoundProperties()BoundValuegetBoundValue(Property<?> prop)default java.util.List<PropertyValue>getValues()booleanisBound(Property<?> prop)default PropertySetnewDefaultInstance()default PropertySetnewExtension()Called on a base object, gets a new extension with a default config object for the child.voidsetBoundValue(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:
getValuesin 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:ExtendableCalled on a base object, gets a new extension with a default config object for the child.- Specified by:
newExtensionin interfaceExtendable<PropertySet>- Specified by:
newExtensionin interfacePropertySet
-
extend
default PropertySet extend(PropertySet parent)
Description copied from interface:ExtendableIf called on a child, gets the extension with the given parent.- Specified by:
extendin interfaceExtendable<PropertySet>- Specified by:
extendin interfacePropertySet
-
newDefaultInstance
default PropertySet newDefaultInstance()
- Specified by:
newDefaultInstancein interfacePropertySet
-
-