public class ParameterAttribute extends Object implements Serializable, Cloneable
The attributes allowed or specified with a parameter object.
Constructor and Description |
---|
ParameterAttribute() |
Modifier and Type | Method and Description |
---|---|
ParameterAttribute |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The field identifier.
|
String |
getStringValue()
The field value, expressed as a String.
|
int |
hashCode() |
void |
setKey(String key)
The field identifier.
|
void |
setStringValue(String stringValue)
The field value, expressed as a String.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParameterAttribute |
withKey(String key)
The field identifier.
|
ParameterAttribute |
withStringValue(String stringValue)
The field value, expressed as a String.
|
public String getKey()
Constraints:
Length: 1 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setKey(String key)
Constraints:
Length: 1 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
key
- The field identifier.public ParameterAttribute withKey(String key)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
key
- The field identifier.public String getStringValue()
Constraints:
Length: 0 - 10240
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setStringValue(String stringValue)
Constraints:
Length: 0 - 10240
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
stringValue
- The field value, expressed as a String.public ParameterAttribute withStringValue(String stringValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10240
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
stringValue
- The field value, expressed as a String.public String toString()
toString
in class Object
Object.toString()
public ParameterAttribute clone()
Copyright © 2015. All rights reserved.