|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.tasks.ags.geoprocessing.GPParameter
com.esri.core.tasks.ags.geoprocessing.GPBoolean
public class GPBoolean

The GPBoolean class is a container that is used to represent a geoprocessing parameter of the type Boolean.
| Field Summary |
|---|
| Fields inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter |
|---|
dataType, DATATYPE_GPBOOLEAN, DATATYPE_GPDATAFILE, DATATYPE_GPDATE, DATATYPE_GPDOUBLE, DATATYPE_GPFEATURERECORDSETLAYER, DATATYPE_GPLINEARUNIT, DATATYPE_GPLONG, DATATYPE_GPMULTIVALUE, DATATYPE_GPRASTERDATA, DATATYPE_GPRASTERDATALAYER, DATATYPE_GPRECORDSET, DATATYPE_GPSTRING |
| Constructor Summary | |
|---|---|
GPBoolean()
Constructs an empty GPBoolean instance. |
|
GPBoolean(String paramName)
Constructor taking in the name of the GP parameter. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
void |
fromJson(org.codehaus.jackson.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()
|
| Methods inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter |
|---|
createFromJson, generateRequestParams, getDataType, getParamName, setParamName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GPBoolean(String paramName)
paramName - the name of the GP parameterpublic GPBoolean()
| Method Detail |
|---|
public boolean getValue()
public void setValue(boolean value)
value - the boolean value to setpublic String generateValueParams()
GPParameter
generateValueParams in class GPParameter
public void fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
GPParameter
fromJson in class GPParameterparser - a Json Parser
Exceptionpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||