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 the name of the GP parameter

public GPBoolean ()

Constructs an empty GPBoolean instance.

Public Methods

public boolean equals (Object obj)

public void fromJson (JsonParser parser)

Method used to populate a GP Parameter.

Parameters
parser a Json Parser
Throws
Exception

public String generateValueParams ()

Method serializing GP parameter's values into a Json format.

Returns
  • the Json String containing the GP parameter's values.

public boolean getValue ()

Returns the boolean value of this parameter.

Returns
  • the value of this GP boolean

public int hashCode ()

public void setValue (boolean value)

Sets the boolean value of this parameter.

Parameters
value the boolean value to set

public String toString ()