SettableBean
public interface PropertyBean extends SettableBean
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getKey() |
Gets the key of this bean
|
java.lang.String |
getValue() |
Gets the value associated with this bean
|
void |
setKey(java.lang.String key) |
Sets the key of this bean
|
void |
setValue(java.lang.String value) |
Sets the value to be associated with this bean
|
java.lang.String getKey()
void setKey(java.lang.String key) throws java.lang.IllegalArgumentException
key
- The key portion of this key/value pairjava.lang.IllegalArgumentException
java.lang.String getValue()
void setValue(java.lang.String value) throws java.lang.IllegalArgumentException
value
- The value to be associated with this propertyjava.lang.IllegalArgumentException