|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.solarmetric.rd.conf.Value
A Value is holder for a configuration value and metadata about
a PropertyDescriptor for the configuration option. Metadata
about the Property will be constructed from the Localizer
for the package of the configuration class. The following localized
strings will be used for describing the component:
| Field Summary | |
static java.lang.String |
ATTRIBUTE_ALLOWED_VALUES
|
static java.lang.String |
ATTRIBUTE_TYPE
|
| Constructor Summary | |
Value(java.lang.String prop,
java.lang.Class configClass,
boolean expert,
java.lang.String type)
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object other)
|
java.beans.PropertyDescriptor |
getDescriptor()
Returns a JavaBean PropertyDescriptor, which holds metadata
about the configuration option. |
java.lang.String |
getProperty()
Returns the property name that will be used when setting or getting this value in a Properties object. |
abstract java.lang.String |
getString()
Return a stringified version of this value. |
int |
hashCode()
|
abstract void |
setString(java.lang.String stringValue)
Set this value from the given string. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ATTRIBUTE_ALLOWED_VALUES
public static final java.lang.String ATTRIBUTE_TYPE
| Constructor Detail |
public Value(java.lang.String prop,
java.lang.Class configClass,
boolean expert,
java.lang.String type)
prop - the name of the property associated with the valueconfigClass - the Configuration class associated with the valueexpert - if true, then this is an "expert" valuetype - the unlocalized name of the type| Method Detail |
public java.lang.String getProperty()
Properties object.
public java.beans.PropertyDescriptor getDescriptor()
PropertyDescriptor, which holds metadata
about the configuration option.
public abstract java.lang.String getString()
public abstract void setString(java.lang.String stringValue)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object
|
SolarMetric Kodo JDO 2.5.0 Reverse Schema Tool | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||