net.infonode.properties.propertymap
Class PropertyMapGroup

java.lang.Object
  extended by net.infonode.properties.base.PropertyGroup
      extended by 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.

Version:
$Revision: 1.3 $
Author:
$Author: jesper $

Field Summary
private  PropertyMapImpl defaultMap
           
 
Constructor Summary
PropertyMapGroup(PropertyMapGroup superGroup, java.lang.String name, java.lang.String description)
          Creates a group with a super group.
PropertyMapGroup(java.lang.String name, java.lang.String description)
          Constructor.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

defaultMap

private PropertyMapImpl defaultMap
Constructor Detail

PropertyMapGroup

public PropertyMapGroup(java.lang.String name,
                        java.lang.String description)
Constructor.

Parameters:
name - the name of this group
description - 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 properties
name - the name of this group
description - 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