net.infonode.properties.propertymap
Class PropertyMapFactory

java.lang.Object
  extended bynet.infonode.properties.propertymap.PropertyMapFactory

public class PropertyMapFactory
extends Object

Contains factory methods for PropertyMap.

Version:
$Revision: 1.3 $

Method Summary
static PropertyMap create(PropertyMap inheritFrom)
          Creates a property map with the same property group as inheritFrom.
static PropertyMap create(PropertyMapGroup propertyGroup)
          Creates a property map that can contain values for properties in the given property group.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static PropertyMap create(PropertyMapGroup propertyGroup)
Creates a property map that can contain values for properties in the given property group.

Parameters:
propertyGroup - the property group
Returns:
a new property map

create

public static PropertyMap create(PropertyMap inheritFrom)
Creates a property map with the same property group as inheritFrom. inheritFrom is added as a super map to the created property map.

Parameters:
inheritFrom - the super map
Returns:
a new property map


Copyright © 2007 NNL Technology AB. All Rights Reserved.