Class BasicVersionedPropertySet
- java.lang.Object
-
- com.inductiveautomation.ignition.common.config.DelegatePropertySet
-
- com.inductiveautomation.ignition.common.config.BasicVersionedPropertySet
-
- All Implemented Interfaces:
BoundPropertySet,Countable,Extendable<PropertySet>,Mergable<PropertySet>,MutablePropertyValueSource,PropertySet,PropertyValueSource,VersionedPropertySet,java.io.Serializable,java.lang.Iterable<PropertyValue>
public class BasicVersionedPropertySet extends DelegatePropertySet implements VersionedPropertySet
- Since:
- 8.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.ignition.common.config.PropertySet
EMPTY
-
Fields inherited from interface com.inductiveautomation.ignition.common.config.VersionedPropertySet
EMPTY
-
-
Constructor Summary
Constructors Constructor Description BasicVersionedPropertySet(PropertySet base)If created with only the base, all properties are reported as modified.BasicVersionedPropertySet(PropertySet base, java.util.Collection<Property<?>> modified)If created with a non-null collection, only those properties are reported as modified.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Property<?>>getModified()booleanisModified(Property<?> prop)java.lang.StringtoString()-
Methods inherited from class com.inductiveautomation.ignition.common.config.DelegatePropertySet
contains, get, getBoundProperties, getBoundValue, getCount, getOrDefault, getOrElse, getProperties, getTarget, getValues, hasTarget, isBound, isExtended, isInherited, iterator, merge, remove, set, set, setBoundValue, setDelegateTarget
-
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.BoundPropertySet
extend, getBoundOrDefault, getBoundProperties, getBoundValue, getValues, isBound, newDefaultInstance, newExtension, setBoundValue
-
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
-
BasicVersionedPropertySet
public BasicVersionedPropertySet(PropertySet base)
If created with only the base, all properties are reported as modified.
-
BasicVersionedPropertySet
public BasicVersionedPropertySet(PropertySet base, java.util.Collection<Property<?>> modified)
If created with a non-null collection, only those properties are reported as modified.
-
-
Method Detail
-
isModified
public boolean isModified(Property<?> prop)
- Specified by:
isModifiedin interfaceVersionedPropertySet
-
getModified
public java.util.Set<Property<?>> getModified()
- Specified by:
getModifiedin interfaceVersionedPropertySet
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-