public class

GPLong

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

Class Overview

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

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
GPLong(String paramName)
Constructor taking in parameter name.
GPLong()
Constructs an empty GPLong 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.
long getValue()
Gets the value.
int hashCode()
void setValue(long 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 GPLong (String paramName)

Constructor taking in parameter name.

Parameters
paramName String: parameter name.

public GPLong ()

Constructs an empty GPLong 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 long getValue ()

Gets the value.

Returns
long the value

public int hashCode ()

Returns
int

public void setValue (long value)

Sets the value.

Parameters
value long: the value to set

public String toString ()

Returns
String