|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.tasks.ags.geoprocessing.GPParameter com.esri.core.tasks.ags.geoprocessing.GPMultiValue<T>
T
- concrete subclass of GPParameter
.
GPParameter
instance.public class GPMultiValue<T extends GPParameter>
Container class representing a Geo-Processing parameter of the type multivalue. It contains a list of
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 | |
---|---|
GPMultiValue(String name)
Constructor taking in a parameter name. |
Method Summary | |
---|---|
void |
addValue(T value)
Convenient method to add a GPParameter value into the parameter list. |
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. |
List<T> |
getValues()
Gets the list of GPParameter values. |
int |
hashCode()
|
void |
setValues(List<T> values)
Sets list of GPParameter values. |
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, toString, wait, wait, wait |
Constructor Detail |
---|
public GPMultiValue(String name)
name
- parameter name.Method Detail |
---|
public List<T> getValues()
public void setValues(List<T> values)
values
- the parameters to setpublic void addValue(T value)
value
- the valuepublic void fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
GPParameter
fromJson
in class GPParameter
parser
- a Json Parser
Exception
public String generateValueParams() throws Exception
GPParameter
generateValueParams
in class GPParameter
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 |