Class MetaPropertyCollection
java.lang.Object
com.inductiveautomation.ignition.common.metaproperties.MetaPropertyCollection
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier 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- 
MetaPropertyCollectionpublic MetaPropertyCollection()
- 
MetaPropertyCollection
 
- 
- 
Method Details- 
emptyCollection
- 
sizepublic int size()
- 
getPropertiesUsed for serialization, normally shouldn't be used directly.
- 
setPropertiesUsed for serialization, normally shouldn't be used directly.
- 
contains
- 
contains
- 
unsetProperty
- 
isSetTests 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
- 
setAdds the given property to the collection, or replaces the existing value.
- 
setAdds a property to the collection for the given WellKnownProperty, or replaces the existing value.
- 
setAllMerges all the properties from the source to this meta prop collection.
- 
setAll
 
-