public class

GPBoolean

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

Class Overview

The GPBoolean class is a container that is used to represent a geoprocessing parameter of the type Boolean.

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
GPBoolean(String paramName)
Constructor taking in the name of the GP parameter.
GPBoolean()
Constructs an empty GPBoolean instance.
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.
boolean getValue()
Returns the boolean value of this parameter.
int hashCode()
void setValue(boolean value)
Sets the boolean value of this parameter.
String toString()
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPBoolean (String paramName)

Constructor taking in the name of the GP parameter.

Parameters
paramName String: the name of the GP parameter

public GPBoolean ()

Constructs an empty GPBoolean instance.

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 boolean getValue ()

Returns the boolean value of this parameter.

Returns
boolean the value of this GP boolean

public int hashCode ()

Returns
int

public void setValue (boolean value)

Sets the boolean value of this parameter.

Parameters
value boolean: the boolean value to set

public String toString ()

Returns
String