Class MetaPropertyCollection
java.lang.Object
com.inductiveautomation.ignition.common.metaproperties.MetaPropertyCollection
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(MetaProperty property) boolean
static MetaPropertyCollection
get
(MetaProperty property) getOrDefault
(WellKnownMetaProperty<?> property) Used for serialization, normally shouldn't be used directly.boolean
isSet
(WellKnownMetaProperty<?> property) Tests to verify that the collection has the property defined, and also that the property's value is not NULL and not the default value.void
set
(MetaProperty property) Adds the given property to the collection, or replaces the existing value.<T> void
set
(WellKnownMetaProperty<T> property, T value) Adds a property to the collection for the given WellKnownProperty, or replaces the existing value.void
setAll
(MetaPropertyCollection source) Merges all the properties from the source to this meta prop collection.protected void
setAll
(MetaPropertyCollection source, boolean cloneProps) void
setProperties
(Map<String, MetaProperty> propertyMap) Used for serialization, normally shouldn't be used directly.int
size()
void
unsetProperty
(String name)
-
Constructor Details
-
MetaPropertyCollection
public MetaPropertyCollection() -
MetaPropertyCollection
-
-
Method Details
-
emptyCollection
-
size
public int size() -
getProperties
Used for serialization, normally shouldn't be used directly. -
setProperties
Used for serialization, normally shouldn't be used directly. -
contains
-
contains
-
unsetProperty
-
isSet
Tests to verify that the collection has the property defined, and also that the property's value is not NULL and not the default value. -
getOrDefault
-
get
-
get
-
set
Adds the given property to the collection, or replaces the existing value. -
set
Adds a property to the collection for the given WellKnownProperty, or replaces the existing value. -
setAll
Merges all the properties from the source to this meta prop collection. -
setAll
-