|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.base.apps.util.config.Property
public class Property
Represents a key-value pair.
| Constructor Summary | |
|---|---|
Property()
Void constructor, with blank name and value. |
|
Property(String name)
|
|
Property(String name,
String value)
|
|
| Method Summary | |
|---|---|
String |
getName()
Fetches the name of this instance. |
String |
getValue()
Returns the object's Mutable value. |
void |
setName(String name)
Sets the name of this instance. |
void |
setValue(String val)
Sets the object's Mutable value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Property()
public Property(String name)
public Property(String name,
String value)
| Method Detail |
|---|
public String getName()
Named
getName in interface NamedNamed.getName()public String getValue()
MutableMutable value.
getValue in interface Mutable<String>Mutable value.Mutable.getValue()public void setValue(String val)
MutableMutable value.
setValue in interface Mutable<String>val - The value to set.Mutable.setValue(java.lang.Object)public void setName(String name)
Nameable
setName in interface Nameablename - The new name.Nameable.setName(java.lang.String)public String toString()
toString in class ObjectObject.toString()
|
Please visit Base Apps, hosted on Sourceforge.net. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||