public class NameValue extends Object implements Serializable
They provide a generic mechanism to configure a component with no specific API.
For instance to specify custom structures used in lists, tables or trees ("artifacts").
| Constructor and Description |
|---|
NameValue(String name,
Object value)
Creates a new instance with the specified name and value.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the pair name/value.
|
Object |
getValue()
Returns the value of the pair name/value.
|
void |
setValue(Object value)
Changes the value of the pair name/value.
|
String |
toString()
Returns the name of this object as string representation of the object.
|
public String getName()
public Object getValue()
public void setValue(Object value)
value - the new value.Copyright © Innowhere Software, Jose Maria Arranz Santamaria.