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()
EditingServiceParameter
getTypes
in interface EditingServiceParameter
Set
of parameter types.public String getName()
EditingServiceParameter
getName
in interface EditingServiceParameter
public String getDescription()
EditingServiceParameter
getDescription
in interface EditingServiceParameter
public void setDescription(String newDescription)
public int getGeometryType()
EditingServiceParameter
NULL
geometry type.
See Geometry.TYPES
getGeometryType
in interface EditingServiceParameter
public Map<String,String> getOptions()
EditingServiceParameter
Map
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 EditingServiceParameter
public Object getDefaultValue()
EditingServiceParameter
getDefaultValue
in interface EditingServiceParameter
public void setDefaultValue(Object value)
EditingServiceParameter
setDefaultValue
in interface EditingServiceParameter