java.lang.Object | ||
↳ | com.esri.core.tasks.ags.geoprocessing.GPParameter | |
↳ | com.esri.core.tasks.ags.geoprocessing.GPRasterDataLayer |
Container class representing a Geo-Processing parameter of the type raster data layer.
This object can have 2 representations:
- if data is the return type selected, the format is as follow:
{ "paramName" : "<paramName>", "dataType" : "GPRasterDataLayer", "value" : { "url" : "<url>", "format" : "<format>" } }- if data is NOT the return type selected, the format is as follow:
{ "paramName" : "<paramName>", "dataType" : "<GPRasterDataLayer | GPFeatureRecordSetLayer>", "value" : { "mapImage" : { "href" : "<href>", "width" : <width>, "height" : <height>, "extent" : {<envelope>}, "scale" : <scale> } } }
[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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GPRasterDataLayer(String paramName)
Constructor taking in a parameter name.
| |||||||||||
GPRasterDataLayer()
Constructs an empty GPRasterDataLayer 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 the raster data.
| ||||||||||
GPMapImage |
getMapImage()
Gets the GPMapImage object.
| ||||||||||
URL |
getRasterDataUrl()
Gets the url to the raster data.
| ||||||||||
int | hashCode() | ||||||||||
void |
setFormat(String format)
Sets the format.
| ||||||||||
void |
setMapImage(GPMapImage mapImage)
Sets the GPMapImage object.
| ||||||||||
void |
setRasterDataUrl(String rasterDataUrl)
Sets the url to the raster data
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.tasks.ags.geoprocessing.GPParameter
| |||||||||||
From class
java.lang.Object
|
Constructor taking in a parameter name.
paramName | parameter name. |
---|
Constructs an empty GPRasterDataLayer object.
Method serializing GP parameter's values into a Json format.
Exception |
---|
Gets the format of the raster data.
Sets the format.
format | the format of the raster data. |
---|
Sets the GPMapImage object.
mapImage | the mapImage to set |
---|
Sets the url to the raster data
rasterDataUrl | url to the raster data. |
---|