|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.solarmetric.conf.Value
A configuration value.
Constructor Summary | |
Value()
Default constructor. |
|
Value(String prop)
Constructor. |
Method Summary | |
void |
addAlias(String key,
String value)
Add an alias to the beginning of the alias list. |
String |
alias(String str)
|
Object |
clone()
|
boolean |
equals(Object other)
|
String[] |
getAliases()
Aliases for the value in the form key1, value1, key2, value2, ... |
PropertyChangeSupport |
getChangeSupport()
The property change support (if any) for this value. |
String |
getDefault()
The default value for the property. |
protected abstract String |
getInternalString()
Return the internal string form of this value. |
String |
getProperty()
The property name that will be used when setting or getting this value in a Properties object. |
String |
getString()
Return a stringified version of this value. |
abstract Class |
getValueType()
Returns the type of the property that this Value represents. |
int |
hashCode()
|
void |
setAliases(String[] aliases)
Aliases for the value in the form key1, value1, key2, value2, ... |
void |
setChangeSupport(PropertyChangeSupport changeSupport)
Add the ability for this value to listen for property changes. |
void |
setDefault(String def)
The default value for the property. |
protected abstract void |
setInternalString(String str)
Set this value from the given string. |
void |
setProperty(String prop)
The property name that will be used when setting or getting this value in a Properties object. |
void |
setString(String val)
Set this value from the given string. |
String |
unalias(String str)
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Value(String prop)
setProperty(java.lang.String)
public Value()
Method Detail |
public String getProperty()
Properties
object.public void setProperty(String prop)
Properties
object.public String[] getAliases()
public void setAliases(String[] aliases)
public void addAlias(String key, String value)
public String alias(String str)
public String unalias(String str)
public String getDefault()
public void setDefault(String def)
public String getString()
public void setString(String val)
public abstract Class getValueType()
protected abstract String getInternalString()
protected abstract void setInternalString(String str)
public int hashCode()
hashCode
in class Object
public boolean equals(Object other)
equals
in class Object
public Object clone()
clone
in class Object
public void setChangeSupport(PropertyChangeSupport changeSupport)
public PropertyChangeSupport getChangeSupport()
|
SolarMetric Kodo JDO 3.2.4 generated on January 7 2005 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |