Class MetaPropertyCollection

  • All Implemented Interfaces:
    java.io.Serializable

    public class MetaPropertyCollection
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Detail

      • MetaPropertyCollection

        public MetaPropertyCollection()
    • Method Detail

      • size

        public int size()
      • getProperties

        public java.util.Map<java.lang.String,​MetaProperty> getProperties()
        Used for serialization, normally shouldn't be used directly.
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​MetaProperty> propertyMap)
        Used for serialization, normally shouldn't be used directly.
      • contains

        public boolean contains​(java.lang.String name)
      • contains

        public boolean contains​(MetaProperty property)
      • unsetProperty

        public void unsetProperty​(java.lang.String name)
      • isSet

        public 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.
      • set

        public void set​(MetaProperty property)
        Adds the given property to the collection, or replaces the existing value.
      • set

        public <T> void set​(WellKnownMetaProperty<T> property,
                            T value)
        Adds a property to the collection for the given WellKnownProperty, or replaces the existing value.
      • setAll

        public void setAll​(MetaPropertyCollection source)
        Merges all the properties from the source to this meta prop collection.