com.esri.core.tasks.ags.geoprocessing
Class GPDate
java.lang.Object
com.esri.core.tasks.ags.geoprocessing.GPParameter
com.esri.core.tasks.ags.geoprocessing.GPDate
- All Implemented Interfaces:
- Serializable
public class GPDate
- extends GPParameter
Container class representing a Geo-Processing parameter of the type date.
- See Also:
- Serialized Form
| 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_GPRASTERDATA, DATATYPE_GPRASTERDATALAYER, DATATYPE_GPRECORDSET, DATATYPE_GPSTRING |
GPDate
public GPDate(String paramName)
getValue
public Date getValue()
- Returns:
- the value for this date parameter.
setValue
public void setValue(Date value)
- Parameters:
value - the date to set as this parameter value.
generateValueParams
public String generateValueParams()
- Description copied from class:
GPParameter
- Method serializing GP parameter's values into a Json format.
- Specified by:
generateValueParams in class GPParameter
- Returns:
- the Json String containing the GP parameter's values.
fromJson
public void fromJson(org.codehaus.jackson.JsonParser parser)
throws Exception
- Description copied from class:
GPParameter
- Method used to populate a GP Parameter.
- Specified by:
fromJson in class GPParameter
- Parameters:
parser - a Json Parser
- Throws:
Exception
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2010. All Rights Reserved.