public class ParameterValue extends Object implements Serializable
Constructor and Description |
---|
ParameterValue(String name,
Serializable value,
ParameterType type)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
String |
getName()
Get the name of the parameter.
|
ParameterType |
getType()
Get the type of the parameter.
|
Serializable |
getValue()
Get the value of the parameter.
|
int |
hashCode()
Return a hash code value for the object.
|
void |
setName(String name)
Set the name of the parameter.
|
void |
setType(ParameterType type)
Set the type of the parameter.
|
void |
setValue(Serializable value)
Set the value of the parameter.
|
String |
toString()
Return a string representation of the object.
|
public ParameterValue(String name, Serializable value, 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 a
ResourceSpecification. 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)
ResourceSpecification
value
- The defaultValue to set.public void setType(ParameterType type)
type
- the type of the parameter.public ParameterType getType()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA