com.esri.core.tasks.ags.geoprocessing
Class GPParameter
java.lang.Object
com.esri.core.tasks.ags.geoprocessing.GPParameter
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- GPBoolean, GPDataFile, GPDate, GPDouble, GPFeatureRecordSetLayer, GPLinearUnit, GPLong, GPRasterData, GPRasterDataLayer, GPRecordSet, GPString
public abstract class GPParameter
- extends Object
- implements Serializable
Base class for all GeoProcessing parameters.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DATATYPE_GPBOOLEAN
protected static final String DATATYPE_GPBOOLEAN
- See Also:
- Constant Field Values
DATATYPE_GPDOUBLE
protected static final String DATATYPE_GPDOUBLE
- See Also:
- Constant Field Values
DATATYPE_GPLONG
protected static final String DATATYPE_GPLONG
- See Also:
- Constant Field Values
DATATYPE_GPSTRING
protected static final String DATATYPE_GPSTRING
- See Also:
- Constant Field Values
DATATYPE_GPDATE
protected static final String DATATYPE_GPDATE
- See Also:
- Constant Field Values
DATATYPE_GPLINEARUNIT
protected static final String DATATYPE_GPLINEARUNIT
- See Also:
- Constant Field Values
DATATYPE_GPDATAFILE
protected static final String DATATYPE_GPDATAFILE
- See Also:
- Constant Field Values
DATATYPE_GPRASTERDATA
protected static final String DATATYPE_GPRASTERDATA
- See Also:
- Constant Field Values
DATATYPE_GPRECORDSET
protected static final String DATATYPE_GPRECORDSET
- See Also:
- Constant Field Values
DATATYPE_GPRASTERDATALAYER
protected static final String DATATYPE_GPRASTERDATALAYER
- See Also:
- Constant Field Values
DATATYPE_GPFEATURERECORDSETLAYER
protected static final String DATATYPE_GPFEATURERECORDSETLAYER
- See Also:
- Constant Field Values
dataType
protected String dataType
GPParameter
public GPParameter()
getDataType
public String getDataType()
- Returns:
- the dataType
getParamName
public String getParamName()
- Returns:
- the paramName
setParamName
public void setParamName(String paramName)
- Parameters:
paramName - the paramName to set
generateRequestParams
public Map<String,String> generateRequestParams()
createFromJson
public static GPParameter createFromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Static method generating a GP Parameter based on the GPParameter Json representation the Json Parser is pointing
to.
- Parameters:
parser - a Json parser pointing to a Json representation of a GP Parameter object.
- Returns:
- a GPParameter of the type defined in the Json representation
- Throws:
Exception
fromJson
public abstract void fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Method used to populate a GP Parameter.
- Parameters:
parser - a Json Parser
- Throws:
Exception
generateValueParams
public abstract String generateValueParams()
throws Exception
- Method serializing GP parameter's values into a Json format.
- Returns:
- the Json String containing the GP parameter's values.
- Throws:
Exception
Copyright © 2010. All Rights Reserved.