net.infonode.properties.types
Class StringProperty

java.lang.Object
  extended bynet.infonode.properties.util.AbstractProperty
      extended bynet.infonode.properties.util.ValueHandlerProperty
          extended bynet.infonode.properties.types.StringProperty
All Implemented Interfaces:
Property

public class StringProperty
extends ValueHandlerProperty

A String property.

Version:
$Revision: 1.4 $

Constructor Summary
StringProperty(PropertyGroup group, String name, String description, PropertyValueHandler valueHandler)
          Constructor.
 
Method Summary
 String get(Object valueContainer)
          Returns the string value of this property in a value container.
 void set(Object valueContainer, String value)
          Sets the string value of this property in a value container.
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringProperty

public StringProperty(PropertyGroup group,
                      String name,
                      String description,
                      PropertyValueHandler valueHandler)
Constructor.

Parameters:
group - the property group
name - the property name
description - the property description
valueHandler - handles values for this property
Method Detail

get

public String get(Object valueContainer)
Returns the string value of this property in a value container.

Parameters:
valueContainer - the value container
Returns:
the string value of this property

set

public void set(Object valueContainer,
                String value)
Sets the string value of this property in a value container.

Parameters:
valueContainer - the value container
value - the string value


Copyright © 2007 NNL Technology AB. All Rights Reserved.