|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.job.ParameterValue
public class ParameterValue
Parameter value is used to specify value of job parameter when a job is submitted. The name specifies the job parameter name defined within the job. If a default value was defined for the job parameter, it will be overridden by the value specified by this object.
Constructor Summary | |
---|---|
ParameterValue(String name,
Serializable value,
ParameterType type)
Constructor |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |