public class ParameterNameValue extends Object implements Serializable, Cloneable
Describes a name-value pair that is used to update the value of a parameter.
Constructor and Description |
---|
ParameterNameValue()
Default constructor for a new ParameterNameValue object.
|
ParameterNameValue(String parameterName)
Constructs a new ParameterNameValue object.
|
ParameterNameValue(String parameterName,
String parameterValue)
Constructs a new ParameterNameValue object.
|
Modifier and Type | Method and Description |
---|---|
ParameterNameValue |
clone() |
boolean |
equals(Object obj) |
String |
getParameterName()
The name of the parameter.
|
String |
getParameterValue()
The value of the parameter.
|
int |
hashCode() |
void |
setParameterName(String parameterName)
The name of the parameter.
|
void |
setParameterValue(String parameterValue)
The value of the parameter.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ParameterNameValue |
withParameterName(String parameterName)
The name of the parameter.
|
ParameterNameValue |
withParameterValue(String parameterValue)
The value of the parameter.
|
public ParameterNameValue()
public ParameterNameValue(String parameterName)
parameterName
- The name of the parameter.public ParameterNameValue(String parameterName, String parameterValue)
parameterName
- The name of the parameter.parameterValue
- The value of the parameter.public String getParameterName()
public void setParameterName(String parameterName)
parameterName
- The name of the parameter.public ParameterNameValue withParameterName(String parameterName)
Returns a reference to this object so that method calls can be chained together.
parameterName
- The name of the parameter.public String getParameterValue()
public void setParameterValue(String parameterValue)
parameterValue
- The value of the parameter.public ParameterNameValue withParameterValue(String parameterValue)
Returns a reference to this object so that method calls can be chained together.
parameterValue
- The value of the parameter.public String toString()
toString
in class Object
Object.toString()
public ParameterNameValue clone()
Copyright © 2016. All rights reserved.