public class DefaultEditingServiceParameter extends Object implements EditingServiceParameter
EditingServiceParameter.TYPE| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue()
Gets the default value of this parameter.
|
String |
getDescription()
Gets a description of parameter.
|
int |
getGeometryType()
If parameter is of type Geometry returns the type of geometry
required by this parameter.
|
String |
getName()
Gets a name of parameter.
|
Map<String,String> |
getOptions()
If parameter is of type Options, returns a
Map with valid
options. |
Set<EditingServiceParameter.TYPE> |
getTypes()
Gets types of this parameter.
|
void |
setDefaultValue(Object value)
Sets the default value of this parameter.
|
void |
setDescription(String newDescription) |
public DefaultEditingServiceParameter(String theName, String theDescription, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(String theName, Object theDefaultValue, String theDescription, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(String theName, String theDescription, int theGeometryType, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(String theName, String theDescription, Object theDefaultValue, int theGeometryType, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(String theName, String theDescription, Map<String,String> theOptions, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(String theName, String theDescription, Map<String,String> theOptions, Object theDefaultValue, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(String theName, String theDescription, int theGeometryType, Map<String,String> theOptions, EditingServiceParameter.TYPE... theTypes)
public Set<EditingServiceParameter.TYPE> getTypes()
EditingServiceParametergetTypes in interface EditingServiceParameter Set of parameter types.public String getName()
EditingServiceParametergetName in interface EditingServiceParameterpublic String getDescription()
EditingServiceParametergetDescription in interface EditingServiceParameterpublic void setDescription(String newDescription)
public int getGeometryType()
EditingServiceParameterNULL geometry type.
See Geometry.TYPESgetGeometryType in interface EditingServiceParameterpublic Map<String,String> getOptions()
EditingServiceParameterMap with valid
options. The map is composed by identifiers and values.
The identifiers are used to check if an option is valid when provider
receives an option. For example, an identifier of the option "Arc mode"
could be "A".getOptions in interface EditingServiceParameterpublic Object getDefaultValue()
EditingServiceParametergetDefaultValue in interface EditingServiceParameterpublic void setDefaultValue(Object value)
EditingServiceParametersetDefaultValue in interface EditingServiceParameter