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)
Convenience method to add a graphic to a GPRecordSet.
boolean equals(Object obj)
void fromJson(JsonParser parser)
Method used to populate a GP Parameter.
Map<String, String> generateRequestParams()
Generates request parameters in the form of a Map which contains four entries: parameter name, date type, value and "exceededTransferLimit".
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 String: parameter name.

public GPRecordSet ()

Constructs an empty GPRecordSet object.

Public Methods

public void addGraphic (Graphic graphic)

Convenience method to add a graphic to a GPRecordSet.

Parameters
graphic Graphic: the graphic to add

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 Map<String, String> generateRequestParams ()

Generates request parameters in the form of a Map which contains four entries: parameter name, date type, value and "exceededTransferLimit".

Returns
Map<String, String> map representing the request parameters.

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 ArrayList<Graphic> getGraphics ()

Gets the array of graphics.

Returns
ArrayList<Graphic> the graphics

public int hashCode ()

Returns
int

public void setGraphics (ArrayList<Graphic> graphics)

Sets the array of graphics.

Parameters
graphics ArrayList: the graphics to set