public class

GPDate

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

Class Overview

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

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

Public Constructors

public GPDate (String paramName)

Constructor taking in the name of the GP parameter.

Parameters
paramName String: name of the GP parameter.

public GPDate ()

Constructs an empty GPDate 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 Date getValue ()

Gets the Date value.

Returns
Date the value for this date parameter.

public int hashCode ()

Returns
int

public void setValue (Date value)

Set the Date value.

Parameters
value Date: the date to set as this parameter value.

public String toString ()

Returns
String