public class Property extends java.lang.Object implements RegistryObject
| Constructor and Description |
|---|
Property()
Constructs a new initialized Property instance.
|
Property(java.lang.String name,
java.lang.String value)
Constructs a new Property with the given data.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name/key of the property.
|
java.lang.String |
getValue()
Returns the value of this property.
|
void |
setName(java.lang.String name)
Sets the name of this property.
|
void |
setValue(java.lang.String value)
Sets the value of this property.
|
public Property()
public Property(java.lang.String name,
java.lang.String value)
name - The property name/key.value - The property data/value.public void setName(java.lang.String name)
name - The name of this property.public java.lang.String getName()
public void setValue(java.lang.String value)
value - The value of this propertypublic java.lang.String getValue()
Copyright ? 2003 Apache Software Foundation. All rights reserved.