Class PropertyMapGroup
- java.lang.Object
-
- net.infonode.properties.base.PropertyGroup
-
- net.infonode.properties.propertymap.PropertyMapGroup
-
public class PropertyMapGroup extends PropertyGroup
A property group containing properties for which values can be set in a property map. The property map group has a property map containing default values for the properties in this group. If no default value is set, the default value of the property will be used.
-
-
Constructor Summary
Constructors Constructor Description PropertyMapGroup(java.lang.String name, java.lang.String description)
Constructor.PropertyMapGroup(PropertyMapGroup superGroup, java.lang.String name, java.lang.String description)
Creates a group with a super group.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyMap
getDefaultMap()
Returns the property map containing the default values for properties in this group.-
Methods inherited from class net.infonode.properties.base.PropertyGroup
addProperty, getDescription, getName, getProperties, getProperty, getProperty, getPropertyCount, getSuperGroup, hasProperty, toString
-
-
-
-
Constructor Detail
-
PropertyMapGroup
public PropertyMapGroup(java.lang.String name, java.lang.String description)
Constructor.- Parameters:
name
- the name of this groupdescription
- the description for this group
-
PropertyMapGroup
public PropertyMapGroup(PropertyMapGroup superGroup, java.lang.String name, java.lang.String description)
Creates a group with a super group.- Parameters:
superGroup
- the super group from which to inherit propertiesname
- the name of this groupdescription
- the description for this group
-
-
Method Detail
-
getDefaultMap
public PropertyMap getDefaultMap()
Returns the property map containing the default values for properties in this group.- Returns:
- the property map containing the default values for properties in this group
-
-