|
||||||||||
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.GPRecordSet
public class GPRecordSet
Container class representing a Geo-Processing parameter of the type record set.
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 | |
---|---|
GPRecordSet()
Constructs an empty GPRecordSet object. |
|
GPRecordSet(String paramName)
Constructor taking in a parameter name. |
Method Summary | |
---|---|
void |
addGraphic(Graphic graphic)
Convenient method to add a graphic to a GPRecordSet |
boolean |
equals(Object obj)
|
void |
fromJson(org.codehaus.jackson.JsonParser parser)
Method used to populate a GP Parameter. |
Map<String,String> |
generateRequestParams()
Generate request parameters in the form of map which contains three entried: parameter name, date type and value. |
String |
generateValueParams()
Method serializing GP parameter's values into a Json format. |
ArrayList<Graphic> |
getGraphics()
Gets the array of graphics |
int |
hashCode()
|
void |
setGraphics(ArrayList<Graphic> graphics)
Sets the array of graphics. |
Methods inherited from class com.esri.core.tasks.ags.geoprocessing.GPParameter |
---|
createFromJson, getDataType, getParamName, setParamName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPRecordSet(String paramName)
paramName
- parameter name.public GPRecordSet()
Method Detail |
---|
public ArrayList<Graphic> getGraphics()
public void setGraphics(ArrayList<Graphic> graphics)
graphics
- the graphics to setpublic void addGraphic(Graphic graphic)
graphic
- the graphic to addpublic Map<String,String> generateRequestParams()
GPParameter
generateRequestParams
in class GPParameter
public String generateValueParams() throws Exception
GPParameter
generateValueParams
in class GPParameter
Exception
public void fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
GPParameter
fromJson
in class GPParameter
parser
- a Json Parser
Exception
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |