public class

GPRasterData

extends GPParameter
java.lang.Object
   ↳ com.esri.core.tasks.ags.geoprocessing.GPParameter
     ↳ com.esri.core.tasks.ags.geoprocessing.GPRasterData

Class Overview

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

Summary

[Expand]
Inherited Constants
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
[Expand]
Inherited Fields
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
Public Constructors
GPRasterData(String paramName)
Constructor taking in a parameter name.
GPRasterData()
Constructs an empty GPRasterData object.
Public Methods
boolean equals(Object obj)
void fromJson(JsonParser parser)
Method used to populate a GP Parameter.
String generateValueParams()
Method serializing GP parameter's values into a Json format.
String getFormat()
Gets the format of this raster data.
URL getUrl()
Gets the url of this raster data.
int hashCode()
void setFormat(String format)
Sets the format of this raster data.
void setUrl(String url)
Sets the url for this raster data.
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPRasterData (String paramName)

Constructor taking in a parameter name.

Parameters
paramName String: parameter name.

public GPRasterData ()

Constructs an empty GPRasterData object.

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public void fromJson (JsonParser parser)

Method used to populate a GP Parameter.

Parameters
parser JsonParser: a Json Parser
Throws
Exception

public String generateValueParams ()

Method serializing GP parameter's values into a Json format.

Returns
String the Json String containing the GP parameter's values.
Throws
Exception

public String getFormat ()

Gets the format of this raster data.

Returns
String the format of this raster data.

public URL getUrl ()

Gets the url of this raster data.

Returns
URL the url of this raster data.

public int hashCode ()

Returns
int

public void setFormat (String format)

Sets the format of this raster data.

Parameters
format String: the format to set for this raster data.

public void setUrl (String url)

Sets the url for this raster data.

Parameters
url String: the url to set for this raster data.