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

java.lang.Object
  extended by com.esri.core.tasks.ags.geoprocessing.GPParameter
      extended by com.esri.core.tasks.ags.geoprocessing.GPRasterData
All Implemented Interfaces:
Serializable

public class GPRasterData
extends GPParameter

Container class representing a Geo-Processing parameter of the type raster data.

See Also:
Serialized Form

Field Summary
 
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
 
Constructor Summary
GPRasterData(String paramName)
           
 
Method Summary
 boolean equals(Object obj)
           
 void fromJson(org.codehaus.jackson.JsonParser parser)
          Method used to populate a GP Parameter.
 String generateValueParams()
          Method serializing GP parameter's values into a Json format.
 String getFormat()
           
 URL getUrl()
           
 int hashCode()
           
 void setFormat(String format)
           
 void setUrl(String url)
           
 
Methods inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter
createFromJson, generateRequestParams, getDataType, getParamName, setParamName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GPRasterData

public GPRasterData(String paramName)
Method Detail

getUrl

public URL getUrl()
Returns:
the url of this raster data

getFormat

public String getFormat()
Returns:
the format of this raster data

setUrl

public void setUrl(String url)
Parameters:
url - the url to set for this raster data

setFormat

public void setFormat(String format)
Parameters:
format - the format to set for this raster data

generateValueParams

public String generateValueParams()
                           throws Exception
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.
Throws:
Exception

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.