Class MetaPropertyCollection
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.metaproperties.MetaPropertyCollection
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class MetaPropertyCollection extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MetaPropertyCollection()MetaPropertyCollection(MetaPropertyCollection copy)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(MetaProperty property)booleancontains(java.lang.String name)static MetaPropertyCollectionemptyCollection()MetaPropertyget(MetaProperty property)MetaPropertyget(java.lang.String name)TypedMetaProperty<?>getOrDefault(WellKnownMetaProperty<?> property)java.util.Map<java.lang.String,MetaProperty>getProperties()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(java.util.Map<java.lang.String,MetaProperty> propertyMap)Used for serialization, normally shouldn't be used directly.intsize()voidunsetProperty(java.lang.String name)
 
- 
- 
- 
Constructor Detail- 
MetaPropertyCollectionpublic MetaPropertyCollection() 
 - 
MetaPropertyCollectionpublic MetaPropertyCollection(MetaPropertyCollection copy) 
 
- 
 - 
Method Detail- 
emptyCollectionpublic static MetaPropertyCollection emptyCollection() 
 - 
sizepublic int size() 
 - 
getPropertiespublic java.util.Map<java.lang.String,MetaProperty> getProperties() Used for serialization, normally shouldn't be used directly.
 - 
setPropertiespublic void setProperties(java.util.Map<java.lang.String,MetaProperty> propertyMap) Used for serialization, normally shouldn't be used directly.
 - 
containspublic boolean contains(java.lang.String name) 
 - 
containspublic boolean contains(MetaProperty property) 
 - 
unsetPropertypublic void unsetProperty(java.lang.String name) 
 - 
isSetpublic 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.
 - 
getOrDefaultpublic TypedMetaProperty<?> getOrDefault(WellKnownMetaProperty<?> property) 
 - 
getpublic MetaProperty get(MetaProperty property) 
 - 
getpublic MetaProperty get(java.lang.String name) 
 - 
setpublic void set(MetaProperty property) Adds the given property to the collection, or replaces the existing value.
 - 
setpublic <T> void set(WellKnownMetaProperty<T> property, T value) Adds a property to the collection for the given WellKnownProperty, or replaces the existing value.
 - 
setAllpublic void setAll(MetaPropertyCollection source) Merges all the properties from the source to this meta prop collection.
 - 
setAllprotected void setAll(MetaPropertyCollection source, boolean cloneProps) 
 
- 
 
-