Class MetaPropertyCollection
java.lang.Object
com.inductiveautomation.ignition.common.metaproperties.MetaPropertyCollection
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(MetaProperty property) booleanstatic MetaPropertyCollectionget(MetaProperty property) getOrDefault(WellKnownMetaProperty<?> property) Used for serialization, normally shouldn't be used directly.booleanisSet(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.voidset(MetaProperty property) Adds the given property to the collection, or replaces the existing value.<T> voidset(WellKnownMetaProperty<T> property, T value) Adds a property to the collection for the given WellKnownProperty, or replaces the existing value.voidsetAll(MetaPropertyCollection source) Merges all the properties from the source to this meta prop collection.protected voidsetAll(MetaPropertyCollection source, boolean cloneProps) voidsetProperties(Map<String, MetaProperty> propertyMap) Used for serialization, normally shouldn't be used directly.intsize()voidunsetProperty(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
-