|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.tasks.ags.geoprocessing.GPParameter
public abstract class GPParameter

Base class for all GeoProcessing parameters.
| Field Summary | |
|---|---|
protected String |
dataType
|
protected static String |
DATATYPE_GPBOOLEAN
|
protected static String |
DATATYPE_GPDATAFILE
|
protected static String |
DATATYPE_GPDATE
|
protected static String |
DATATYPE_GPDOUBLE
|
protected static String |
DATATYPE_GPFEATURERECORDSETLAYER
|
protected static String |
DATATYPE_GPLINEARUNIT
|
protected static String |
DATATYPE_GPLONG
|
protected static String |
DATATYPE_GPMULTIVALUE
|
protected static String |
DATATYPE_GPRASTERDATA
|
protected static String |
DATATYPE_GPRASTERDATALAYER
|
protected static String |
DATATYPE_GPRECORDSET
|
protected static String |
DATATYPE_GPSTRING
|
| Constructor Summary | |
|---|---|
GPParameter()
|
|
| Method Summary | |
|---|---|
static GPParameter |
createFromJson(org.codehaus.jackson.JsonParser parser)
Static method generating a GP Parameter based on the GPParameter Json representation the Json Parser is pointing to. |
abstract void |
fromJson(org.codehaus.jackson.JsonParser parser)
Method used to populate a GP Parameter. |
Map<String,String> |
generateRequestParams()
Generate request parameters in the form of map which contains three entried: parameter name, date type and value. |
abstract String |
generateValueParams()
Method serializing GP parameter's values into a Json format. |
String |
getDataType()
Gets the data type. |
String |
getParamName()
Gets the parameter name. |
void |
setParamName(String paramName)
Sets the parameter name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String DATATYPE_GPBOOLEAN
protected static final String DATATYPE_GPDOUBLE
protected static final String DATATYPE_GPLONG
protected static final String DATATYPE_GPSTRING
protected static final String DATATYPE_GPDATE
protected static final String DATATYPE_GPLINEARUNIT
protected static final String DATATYPE_GPDATAFILE
protected static final String DATATYPE_GPRASTERDATA
protected static final String DATATYPE_GPRECORDSET
protected static final String DATATYPE_GPRASTERDATALAYER
protected static final String DATATYPE_GPFEATURERECORDSETLAYER
protected static final String DATATYPE_GPMULTIVALUE
protected String dataType
| Constructor Detail |
|---|
public GPParameter()
| Method Detail |
|---|
public String getDataType()
public String getParamName()
public void setParamName(String paramName)
paramName - the parameter name to set.public Map<String,String> generateRequestParams()
public static GPParameter createFromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
parser - a Json parser pointing to a Json representation of a GP Parameter object.
Exception
public abstract void fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
parser - a Json Parser
Exception
public abstract String generateValueParams()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||