com.esri.core.tasks.ags.geoprocessing
Class GPDouble
java.lang.Object
com.esri.core.tasks.ags.geoprocessing.GPParameter
com.esri.core.tasks.ags.geoprocessing.GPDouble
- All Implemented Interfaces:
- Serializable
public class GPDouble
- extends GPParameter
Container class representing a Geo-Processing parameter of the type double.
- See Also:
- Serialized Form
| 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_GPRASTERDATA, DATATYPE_GPRASTERDATALAYER, DATATYPE_GPRECORDSET, DATATYPE_GPSTRING |
GPDouble
public GPDouble(String paramName)
getValue
public double getValue()
- Returns:
- the value for this double.
setValue
public void setValue(double value)
- Parameters:
value - the double to set as the value for this parameter.
generateValueParams
public String generateValueParams()
- Description copied from class:
GPParameter
- Method serializing GP parameter's values into a Json format.
- Specified by:
generateValueParams in class GPParameter
- Returns:
- the Json String containing the GP parameter's values.
fromJson
public void fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Description copied from class:
GPParameter
- Method used to populate a GP Parameter.
- Specified by:
fromJson in class GPParameter
- Parameters:
parser - a Json Parser
- Throws:
Exception
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2010. All Rights Reserved.