Interface PropertySet
- All Superinterfaces:
Countable,Extendable<PropertySet>,Iterable<PropertyValue>,Mergable<PropertySet>,MutablePropertyValueSource,PropertyValueSource,Serializable
- All Known Subinterfaces:
AlarmDefinition,AlarmEvent,AuthenticatedUser,BoundPropertySet,NotificationContext,ObservablePropertySet,PropertySetEdit,PyAlarmEvent,QualifiedValuePropertySet,TagConfiguration,TagConfigurationModel,TagEditController<T>,TagGroup,User,VersionedPropertySet
- All Known Implementing Classes:
AbstractExtendedPropertySet,ADSSOAuthChallenge,AlarmDefinitionConfig,AlarmDefinitionDiff,AlarmEventInstance,AuthChallenge,BadgeAuthChallenge,BasicAlarmDefinition,BasicAlarmEvent,BasicAuthChallenge,BasicAuthenticatedUser,BasicBoundPropertySet,BasicPropertySet,BasicTagConfiguration,BasicTagConfigurationModel,BasicTagEditController,BasicUser,BasicVersionedPropertySet,BoundExtendedPropertySet,BoundPropertySetConfig,BoundPropertySetDiff,ChartUIElement,ComplexTagDefinition,ComplexTagDiff,CompositePropertySet,DelegatePropertySet,EventData,ExtendedAlarmDefinition,ExtendedPropertySet,IdentityTraits,ImmutablePropertySet,IntersectedAlarmDefinition,IntersectedBoundPropertySet,IntersectedPropertySet,IntersectedTagConfig,IntersectedTagEditModel,PipelineDescriptor,PropertySetConfig,PropertySetDiff,PyAlarmEventImpl,PyUser,StorageTagConfiguration,TagDefinition,TagDiff,TagEditResources,TagPropertySetWrapper,UnfilteredEventData
public interface PropertySet
extends Serializable, Iterable<PropertyValue>, MutablePropertyValueSource, Countable, Extendable<PropertySet>
A PropertySet is a collection of property values. It is mutable, but extends from PropertyValueSource, which is
read-only.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic BasicPropertySet.Builderbuilder()default PropertySetextend(PropertySet parent) If called on a child, gets the extension with the given parent.default PropertySetThis returns an object that represents the value only for the most "local" level.booleanisExtended(Property<?> prop) Returns whether this property set contains a value for the prop, and the prop was actually inherited.booleanisInherited(Property<?> prop) Indicates whether the property was inherited from a parent type.default PropertySetdefault PropertySetCalled on a base object, gets a new extension with a default config object for the child.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge, remove, set, setMethods inherited from interface com.inductiveautomation.ignition.common.config.PropertyValueSource
contains, get, getNonNull, getNonNull, getOrDefault, getOrElse, getProperties, getValues
-
Field Details
-
EMPTY
-
-
Method Details
-
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>
-
extend
Description copied from interface:ExtendableIf called on a child, gets the extension with the given parent.- Specified by:
extendin interfaceExtendable<PropertySet>
-
newDefaultInstance
-
getExtension
Description copied from interface:ExtendableThis returns an object that represents the value only for the most "local" level. That is, this is the difference between the inherited base and the current extension. Complex objects should ensure that trait is true for all aspects of the returned value.- Specified by:
getExtensionin interfaceExtendable<PropertySet>
-
builder
-
isExtended
Returns whether this property set contains a value for the prop, and the prop was actually inherited. In other words, this is true if the property is inherited, and an override value is present. -
isInherited
Indicates whether the property was inherited from a parent type.
-