|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.figure8.join.core.setup.ConfigProperty
public class ConfigProperty
A Java Bean representing a configuration property (or a configuration element).
Such properties are intended to be loaded from application configuration file
during bootstrap phase. A property has a key
and a value
.
Constructor Summary | |
---|---|
ConfigProperty()
Creates a new instance of ConfigProperty |
|
ConfigProperty(java.lang.String key,
java.lang.String value)
Creates a new instance of ConfigProperty |
Method Summary | |
---|---|
java.lang.String |
getKey()
|
java.lang.String |
getValue()
|
void |
setKey(java.lang.String key)
|
void |
setValue(java.lang.String value)
|
java.lang.String |
toString()
Return an Xml string representation of this ConfigProperty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigProperty()
public ConfigProperty(java.lang.String key, java.lang.String value)
key
- Key of this propertyvalue
- Value associated to keyMethod Detail |
---|
public void setKey(java.lang.String key)
key
- Key identifier of the propertypublic java.lang.String getKey()
public void setValue(java.lang.String value)
value
- The string value of this propertypublic java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |