public class

GPRecordSet

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

Class Overview

Container class representing a Geo-Processing parameter of the type record set.

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
GPRecordSet(String paramName)
Constructor taking in a parameter name.
GPRecordSet()
Constructs an empty GPRecordSet object.
Public Methods
void addGraphic(Graphic graphic)
Convenient method to add a graphic to a GPRecordSet
boolean equals(Object obj)
void fromJson(JsonParser parser)
Method used to populate a GP Parameter.
Map<StringString> generateRequestParams()
Generate request parameters in the form of map which contains three entried: parameter name, date type and value.
String generateValueParams()
Method serializing GP parameter's values into a Json format.
ArrayList<Graphic> getGraphics()
Gets the array of graphics
int hashCode()
void setGraphics(ArrayList<Graphic> graphics)
Sets the array of graphics.
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPRecordSet (String paramName)

Constructor taking in a parameter name.

Parameters
paramName parameter name.

public GPRecordSet ()

Constructs an empty GPRecordSet object.

Public Methods

public void addGraphic (Graphic graphic)

Convenient method to add a graphic to a GPRecordSet

Parameters
graphic the graphic to add

public boolean equals (Object obj)

public void fromJson (JsonParser parser)

Method used to populate a GP Parameter.

Parameters
parser a Json Parser
Throws
Exception

public Map<StringString> generateRequestParams ()

Generate request parameters in the form of map which contains three entried: parameter name, date type and value.

Returns
  • map representing the request parameters.

public String generateValueParams ()

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

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

public ArrayList<Graphic> getGraphics ()

Gets the array of graphics

Returns
  • the graphics

public int hashCode ()

public void setGraphics (ArrayList<Graphic> graphics)

Sets the array of graphics.

Parameters
graphics the graphics to set