SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

com.solarmetric.kodo.conf
Class StringValue

java.lang.Object
  |
  +--com.solarmetric.kodo.conf.Value
        |
        +--com.solarmetric.kodo.conf.StringValue
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ClassValue

public class StringValue
extends Value

See Also:
Serialized Form

Fields inherited from class com.solarmetric.kodo.conf.Value
ATTRIBUTE_ALLOWED_VALUES, ATTRIBUTE_TYPE
 
Constructor Summary
StringValue(String prop, String value, Class configClass, boolean expert, String type)
           
StringValue(String prop, String value, String[] validValues, Class configClass, boolean expert, String type)
           
 
Method Summary
 String get()
           
 PropertyDescriptor getDescriptor()
          Returns a JavaBean PropertyDescriptor, which holds metadata about the configuration option.
 String getString()
           
 void set(String value)
           
 void setFromProperties(TypedProperties props)
           
 void setString(String stringValue)
           
 
Methods inherited from class com.solarmetric.kodo.conf.Value
equals, getProperty, hashCode, setIntoProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringValue

public StringValue(String prop,
                   String value,
                   String[] validValues,
                   Class configClass,
                   boolean expert,
                   String type)

StringValue

public StringValue(String prop,
                   String value,
                   Class configClass,
                   boolean expert,
                   String type)
Method Detail

set

public void set(String value)

get

public String get()

getString

public String getString()
Overrides:
getString in class Value

setFromProperties

public void setFromProperties(TypedProperties props)
Overrides:
setFromProperties in class Value

getDescriptor

public PropertyDescriptor getDescriptor()
Description copied from class: Value
Returns a JavaBean PropertyDescriptor, which holds metadata about the configuration option.
Overrides:
getDescriptor in class Value

setString

public void setString(String stringValue)
Overrides:
setString in class Value

SolarMetric Kodo JDO 2.4.3 generated on March 27 2003

Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.