public class ParameterValue extends Object implements Serializable
Constructor and Description |
---|
ParameterValue(String name,
Serializable value,
JobParameter.ParameterType type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Get the name of the parameter.
|
JobParameter.ParameterType |
getType()
Get the type of the parameter.
|
Serializable |
getValue()
Get the value of the parameter.
|
int |
hashCode() |
void |
setName(String name)
Set the name of the parameter.
|
void |
setType(JobParameter.ParameterType type)
Set the type of the parameter.
|
void |
setValue(Serializable value)
Set the value of the parameter.
|
String |
toString() |
public ParameterValue(String name, Serializable value, JobParameter.ParameterType type)
name
- Name of the parameter.value
- Value of the parameter. For parameters of type FILE and FOLDER, the value should be specified as an
ItemSpecification
. Values of CHARACTER and NUMERIC parameters
should be specified as a String. DATE parameter values should be specified as java.util.Date.type
- The type of the parameter.public String getName()
public void setName(String name)
name
- The name to set.public Serializable getValue()
public void setValue(Serializable value)
ItemSpecification
value
- The defaultValue to set.public void setType(JobParameter.ParameterType type)
type
- the type of the parameter.public JobParameter.ParameterType getType()
Copyright (c) 2019, SAS Institute Inc., Cary, NC, USA