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.


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
equals, 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.

setParamURL

public void setParamURL(String paramURL)
Sets parameter URL.

Parameters:
paramURL - the parameter URL to set.

getParamName

public String getParamName()
Gets the parameter name.

Returns:
the parameter name.

getParamURL

public String getParamURL()
Gets the parameter URL.

Returns:
the parameter URL.

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


Copyright © 2012. All Rights Reserved.