public class

GPString

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

Class Overview

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

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
GPString(String paramName)
Construtor taking in a parameter name.
GPString()
Constructs an empty GPString 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 getValue()
Gets the value.
int hashCode()
void setValue(String value)
Sets the value.
String toString()
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPString (String paramName)

Construtor taking in a parameter name.

Parameters
paramName String: parameter name.

public GPString ()

Constructs an empty GPString 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.

public String getValue ()

Gets the value.

Returns
String the value in string.

public int hashCode ()

Returns
int

public void setValue (String value)

Sets the value.

Parameters
value String: the value to set.

public String toString ()

Returns
String