net.infonode.properties.util

Class AbstractProperty

public abstract class AbstractProperty extends Object implements Property

An abstract base class for properties.

Version: $Revision: 1.4 $

Author: $Author: jesper $

Constructor Summary
protected AbstractProperty(PropertyGroup group, String name, Class type, String description)
Constructor.
Method Summary
booleancanBeAssiged(Object value)
StringgetDescription()
PropertyGroupgetGroup()
StringgetName()
ClassgetType()
booleanisMutable()
voidsetValue(Object object, Object value)
StringtoString()

Constructor Detail

AbstractProperty

protected AbstractProperty(PropertyGroup group, String name, Class type, String description)
Constructor.

Parameters: group the property group name the property name type the property type description the property description

Method Detail

canBeAssiged

public boolean canBeAssiged(Object value)

getDescription

public String getDescription()

getGroup

public PropertyGroup getGroup()

getName

public String getName()

getType

public Class getType()

isMutable

public boolean isMutable()

setValue

public void setValue(Object object, Object value)

toString

public String toString()