|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
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, ... |
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. |
int |
hashCode()
|
void |
setAliases(String[] aliases)
Aliases for the value in the form key1, value1, key2, value2, ... |
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)
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
|
SolarMetric Kodo JDO 3.1.6 generated on August 25 2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |