|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.tasks.ags.geoprocessing.GPParameter com.esri.core.tasks.ags.geoprocessing.GPDouble
public class GPDouble
Container class representing a Geo-Processing parameter of the type double.
Field Summary |
---|
Fields inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter |
---|
dataType, DATATYPE_GPBOOLEAN, DATATYPE_GPDATAFILE, DATATYPE_GPDATE, DATATYPE_GPDOUBLE, DATATYPE_GPFEATURERECORDSETLAYER, DATATYPE_GPLINEARUNIT, DATATYPE_GPLONG, DATATYPE_GPMULTIVALUE, DATATYPE_GPRASTERDATA, DATATYPE_GPRASTERDATALAYER, DATATYPE_GPRECORDSET, DATATYPE_GPSTRING |
Constructor Summary | |
---|---|
GPDouble()
Constructs an empty GPDouble object. |
|
GPDouble(String paramName)
Constructor taking in the name of the parameter. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
void |
fromJson(org.codehaus.jackson.JsonParser parser)
Method used to populate a GP Parameter. |
String |
generateValueParams()
Method serializing GP parameter's values into a Json format. |
double |
getValue()
Gets the double value. |
int |
hashCode()
|
void |
setValue(double value)
Sets the double value. |
String |
toString()
|
Methods inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter |
---|
createFromJson, generateRequestParams, getDataType, getParamName, setParamName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GPDouble(String paramName)
paramName
- the name of the parameter.public GPDouble()
Method Detail |
---|
public double getValue()
public void setValue(double value)
value
- the double to set as the value for this parameter.public String generateValueParams()
GPParameter
generateValueParams
in class GPParameter
public void fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
GPParameter
fromJson
in class GPParameter
parser
- a Json Parser
Exception
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |