|
||||||||||
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.GPTaskInfo.GPParameterInfo
public static class GPTaskInfo.GPParameterInfo
This class provides information on a single parameter of a geoprocessing task.Information includes:
Constructor Summary | |
---|---|
GPTaskInfo.GPParameterInfo()
|
Method Summary | |
---|---|
static GPTaskInfo.GPParameterInfo |
fromJson(org.codehaus.jackson.JsonParser parser)
Create a GPParameterInfo instance from the json contained in
the given JsonParser object. |
String |
getCategory()
Gets the category. |
String[] |
getChoiceList()
Gets the choice list. |
Class<?> |
getDataType()
Gets the data type. |
GPParameter |
getDefaultValue()
Gets the default value. |
GPTaskInfo.ParamDirection |
getDirection()
Gets the direction. |
String |
getDisplayName()
Gets the display name. |
String |
getName()
Gets the name. |
GPTaskInfo.ParamType |
getParameterType()
Gets the parameter type. |
protected void |
setCategory(String category)
Sets the category. |
protected void |
setChoiceList(String[] choiceList)
Sets the choice list. |
protected void |
setDataType(String dataType)
Sets the data type. |
protected void |
setDefaultValue(GPParameter defaultValue)
Sets the default value. |
protected void |
setDirection(GPTaskInfo.ParamDirection direction)
Sets the direction. |
protected void |
setDisplayName(String displayName)
Sets the display name. |
protected void |
setName(String name)
Sets the name. |
protected void |
setParameterType(GPTaskInfo.ParamType type)
Sets the parameter type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GPTaskInfo.GPParameterInfo()
Method Detail |
---|
public static GPTaskInfo.GPParameterInfo fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
GPParameterInfo
instance from the json contained in
the given JsonParser object.
parser
- the parser
Exception
protected void setName(String name)
name
- the new namepublic String getName()
protected void setDisplayName(String displayName)
displayName
- the new display namepublic String getDisplayName()
protected void setCategory(String category)
category
- the new categorypublic String getCategory()
protected void setDataType(String dataType)
dataType
- the new data typepublic Class<?> getDataType()
protected void setDirection(GPTaskInfo.ParamDirection direction)
direction
- the new directionpublic GPTaskInfo.ParamDirection getDirection()
protected void setParameterType(GPTaskInfo.ParamType type)
type
- the new parameter typepublic GPTaskInfo.ParamType getParameterType()
protected void setChoiceList(String[] choiceList)
choiceList
- the new choice listpublic String[] getChoiceList()
protected void setDefaultValue(GPParameter defaultValue)
defaultValue
- the new default valuepublic GPParameter getDefaultValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |