public class

GPMultiValue

extends GPParameter
java.lang.Object
   ↳ com.esri.core.tasks.ags.geoprocessing.GPParameter
     ↳ com.esri.core.tasks.ags.geoprocessing.GPMultiValue<T extends com.esri.core.tasks.ags.geoprocessing.GPParameter>

Class Overview

Container class representing a Geo-Processing parameter of the type multivalue. It contains a list of

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
GPMultiValue(String name)
Constructor taking in a parameter name.
Public Methods
void addValue(T value)
Convenient method to add a GPParameter value into the parameter list.
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.
List<T> getValues()
Gets the list of GPParameter values.
int hashCode()
void setValues(List<T> values)
Sets list of GPParameter values.
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPMultiValue (String name)

Constructor taking in a parameter name.

Parameters
name String: parameter name.

Public Methods

public void addValue (T value)

Convenient method to add a GPParameter value into the parameter list.

Parameters
value T: the value

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 List<T> getValues ()

Gets the list of GPParameter values.

Returns
List<T> the list of GPParameter values.

public int hashCode ()

Returns
int

public void setValues (List<T> values)

Sets list of GPParameter values.

Parameters
values List: the parameters to set