public class ParameterAttribute
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The attributes allowed or specified with a parameter object.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key
The field identifier.
|
private java.lang.String |
stringValue
The field value, expressed as a String.
|
Constructor and Description |
---|
ParameterAttribute() |
Modifier and Type | Method and Description |
---|---|
ParameterAttribute |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getKey()
The field identifier.
|
java.lang.String |
getStringValue()
The field value, expressed as a String.
|
int |
hashCode() |
void |
setKey(java.lang.String key)
The field identifier.
|
void |
setStringValue(java.lang.String stringValue)
The field value, expressed as a String.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParameterAttribute |
withKey(java.lang.String key)
The field identifier.
|
ParameterAttribute |
withStringValue(java.lang.String stringValue)
The field value, expressed as a String.
|
private java.lang.String key
The field identifier.
private java.lang.String stringValue
The field value, expressed as a String.
public void setKey(java.lang.String key)
The field identifier.
key
- The field identifier.public java.lang.String getKey()
The field identifier.
public ParameterAttribute withKey(java.lang.String key)
The field identifier.
key
- The field identifier.public void setStringValue(java.lang.String stringValue)
The field value, expressed as a String.
stringValue
- The field value, expressed as a String.public java.lang.String getStringValue()
The field value, expressed as a String.
public ParameterAttribute withStringValue(java.lang.String stringValue)
The field value, expressed as a String.
stringValue
- The field value, expressed as a String.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ParameterAttribute clone()
clone
in class java.lang.Object