Class BasicBoundPropertySet
- java.lang.Object
-
- com.inductiveautomation.ignition.common.config.BasicPropertySet
-
- com.inductiveautomation.ignition.common.config.BasicBoundPropertySet
-
- All Implemented Interfaces:
BoundPropertySet,Countable,Extendable<PropertySet>,Mergable<PropertySet>,MutablePropertyValueSource,ObservablePropertySet,PropertySet,PropertyValueSource,java.io.Serializable,java.lang.Iterable<PropertyValue>
- Direct Known Subclasses:
StorageTagConfiguration
public class BasicBoundPropertySet extends BasicPropertySet implements BoundPropertySet
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
BasicPropertySet.Builder
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
-
Constructor Summary
Constructors Constructor Description BasicBoundPropertySet()BasicBoundPropertySet(PropertySet copy)BasicBoundPropertySet(PropertyValue... values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(Property<?> prop)booleanequals(java.lang.Object obj)java.util.Collection<Property<?>>getBoundProperties()protected java.util.Map<Property<?>,BoundValue>getBoundPropMap()BoundValuegetBoundValue(Property<?> prop)intgetCount()java.util.Collection<Property<?>>getProperties()protected java.lang.ObjectgetRaw(Property<?> prop)booleanisBound(Property<?> prop)voidremove(Property<?> prop)voidset(PropertyValue propValue)voidsetBoundValue(Property<?> prop, BoundValue value)protected voidsetImpl(Property<?> property, java.lang.Object object)java.lang.StringtoString()-
Methods inherited from class com.inductiveautomation.ignition.common.config.BasicPropertySet
addPropertyChangeListener, addPropertyChangeListener, change, coerceValue, firePropertyChange, get, getExtension, getOrDefault, getOrElse, getRawValueMap, getValues, isExtended, isInherited, iterator, of, removePropertyChangeListener, removePropertyChangeListener, set, setDirect, setRawValueMap
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, 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, set
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
getExtension, isExtended, isInherited
-
Methods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
get, getNonNull, getNonNull, getOrDefault, getOrElse
-
-
-
-
Constructor Detail
-
BasicBoundPropertySet
public BasicBoundPropertySet()
-
BasicBoundPropertySet
public BasicBoundPropertySet(PropertySet copy)
-
BasicBoundPropertySet
public BasicBoundPropertySet(PropertyValue... values)
-
-
Method Detail
-
getBoundPropMap
protected java.util.Map<Property<?>,BoundValue> getBoundPropMap()
-
getBoundProperties
public java.util.Collection<Property<?>> getBoundProperties()
- Specified by:
getBoundPropertiesin interfaceBoundPropertySet
-
isBound
public boolean isBound(Property<?> prop)
- Specified by:
isBoundin interfaceBoundPropertySet
-
setBoundValue
public void setBoundValue(Property<?> prop, BoundValue value)
- Specified by:
setBoundValuein interfaceBoundPropertySet
-
getBoundValue
public BoundValue getBoundValue(Property<?> prop)
- Specified by:
getBoundValuein interfaceBoundPropertySet
-
setImpl
protected void setImpl(Property<?> property, java.lang.Object object)
- Overrides:
setImplin classBasicPropertySet
-
remove
public void remove(Property<?> prop)
- Specified by:
removein interfaceMutablePropertyValueSource- Overrides:
removein classBasicPropertySet
-
contains
public boolean contains(Property<?> prop)
- Specified by:
containsin interfacePropertyValueSource- Overrides:
containsin classBasicPropertySet- Returns:
- True if the source contains a value for prop.
-
getProperties
public java.util.Collection<Property<?>> getProperties()
- Specified by:
getPropertiesin interfacePropertyValueSource- Overrides:
getPropertiesin classBasicPropertySet
-
getCount
public int getCount()
- Specified by:
getCountin interfaceCountable- Overrides:
getCountin classBasicPropertySet
-
set
public void set(PropertyValue propValue)
- Specified by:
setin interfaceMutablePropertyValueSource- Overrides:
setin classBasicPropertySet
-
getRaw
protected java.lang.Object getRaw(Property<?> prop)
- Overrides:
getRawin classBasicPropertySet
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classBasicPropertySet
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBasicPropertySet
-
-