com.esri.core.tasks.ags.geoprocessing
Class GPJobParameter

java.lang.Object
  extended by com.esri.core.tasks.ags.geoprocessing.GPJobParameter

public class GPJobParameter
extends Object

This class gives the descriptions of the input GPParameter and output GPParameter by providing their names and values. The value of GPParameter is represented by a URL generated by the Geoprocessing service.

Since:
1.0

Constructor Summary
GPJobParameter()
           
 
Method Summary
static GPJobParameter[] fromJson(org.codehaus.jackson.JsonParser parser)
          Static method generating a GPJobParameter array based on the GPJobParameter Json representation the Json Parser is pointing to.
 String getParamName()
          Gets the parameter name.
 String getParamURL()
          Gets the parameter URL.
 void setParamName(String paramName)
          Sets parameter name.
 void setParamURL(String paramURL)
          Sets parameter URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPJobParameter

public GPJobParameter()
Method Detail

setParamName

public void setParamName(String paramName)
Sets parameter name.

Parameters:
paramName - the parame name to set.
Since:
1.0

setParamURL

public void setParamURL(String paramURL)
Sets parameter URL.

Parameters:
paramURL - the parameter URL to set.
Since:
1.0

getParamName

public String getParamName()
Gets the parameter name.

Returns:
the parameter name.
Since:
1.0

getParamURL

public String getParamURL()
Gets the parameter URL.

Returns:
the parameter URL.
Since:
1.0

fromJson

public static GPJobParameter[] fromJson(org.codehaus.jackson.JsonParser parser)
                                 throws Exception
Static method generating a GPJobParameter array based on the GPJobParameter Json representation the Json Parser is pointing to.

Parameters:
parser - a Json parser pointing to a Json representation of a GPJobParameter array.
Returns:
a GPJobParameter array
Throws:
Exception
Since:
1.0


Copyright © 2012. All Rights Reserved.