net.infonode.properties.types
Class PropertyGroupProperty

java.lang.Object
  extended by net.infonode.properties.util.AbstractProperty
      extended by net.infonode.properties.util.ValueHandlerProperty
          extended by net.infonode.properties.types.PropertyGroupProperty
All Implemented Interfaces:
Property
Direct Known Subclasses:
PropertyMapProperty

public class PropertyGroupProperty
extends ValueHandlerProperty

A property that can be assigned a value container as value.

Version:
$Revision: 1.5 $
Author:
$Author: jesper $

Field Summary
private  PropertyGroup propertyGroup
           
 
Constructor Summary
PropertyGroupProperty(PropertyGroup group, java.lang.String name, java.lang.Class type, java.lang.String description, PropertyValueHandler valueHandler, PropertyGroup propertyGroup)
          Constructor.
 
Method Summary
 PropertyGroup getPropertyGroup()
          Returns the property group.
 
Methods inherited from class net.infonode.properties.util.ValueHandlerProperty
getValue, removeValue, setValue, valueIsRemovable, valueIsSet
 
Methods inherited from class net.infonode.properties.util.AbstractProperty
canBeAssiged, getDescription, getGroup, getName, getType, isMutable, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

propertyGroup

private PropertyGroup propertyGroup
Constructor Detail

PropertyGroupProperty

public PropertyGroupProperty(PropertyGroup group,
                             java.lang.String name,
                             java.lang.Class type,
                             java.lang.String description,
                             PropertyValueHandler valueHandler,
                             PropertyGroup propertyGroup)
Constructor.

Parameters:
group - the property group
name - the property name
type - the property type
description - the property description
valueHandler - handles values for this property
propertyGroup - the property group. Values for properties in this group can be stored in the value containers that are this properties values.
Method Detail

getPropertyGroup

public PropertyGroup getPropertyGroup()
Returns the property group. Values for properties in this group can be stored in the value containers that are this properties values.

Returns:
the property group