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.Builder
builder()
default PropertySet
extend
(PropertySet parent) If called on a child, gets the extension with the given parent.default PropertySet
This returns an object that represents the value only for the most "local" level.boolean
isExtended
(Property<?> prop) Returns whether this property set contains a value for the prop, and the prop was actually inherited.boolean
isInherited
(Property<?> prop) Indicates whether the property was inherited from a parent type.default PropertySet
default PropertySet
Called 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, spliterator
Methods inherited from interface com.inductiveautomation.ignition.common.config.MutablePropertyValueSource
merge, remove, set, set
Methods 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:Extendable
Called on a base object, gets a new extension with a default config object for the child.- Specified by:
newExtension
in interfaceExtendable<PropertySet>
-
extend
Description copied from interface:Extendable
If called on a child, gets the extension with the given parent.- Specified by:
extend
in interfaceExtendable<PropertySet>
-
newDefaultInstance
-
getExtension
Description copied from interface:Extendable
This 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:
getExtension
in 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.
-