public class ParameterValue extends Object implements Serializable
Constructor and Description |
---|
ParameterValue(String name,
Serializable value,
JobParameter.ParameterType type)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the name of the parameter.
|
JobParameter.ParameterType |
getType()
Gets the type of the parameter.
|
Serializable |
getValue()
Gets the value of the parameter.
|
int |
hashCode() |
void |
setName(String name)
Sets the name of the parameter.
|
void |
setType(JobParameter.ParameterType type)
Sets the type of the parameter.
|
void |
setValue(Serializable value)
Sets the value of the parameter.
|
String |
toString() |
public ParameterValue(String name, Serializable value, JobParameter.ParameterType type)
name
- The name of the parameter.value
- The value of the parameter. For parameters of type FILE and FOLDER, the value must be specified as
a JobInput
. The values of CHARACTER and NUMERIC parameters must be
specified as a String. The DATE parameter values must be specified as java.util.Date.type
- The type of the parameter.public String getName()
public void setName(String name)
name
- The name.public Serializable getValue()
public void setValue(Serializable value)
JobInput
.
value
- The default value to set.public void setType(JobParameter.ParameterType type)
type
- The type.public JobParameter.ParameterType getType()
<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>