public interface EditingServiceParameter
EditingServiceParameter represents values needed by services to work. This parameters can be several type at the same type. For example, if services needs the radius of a circle, that value can be a position of map or a double value.
Modifier and Type | Interface and Description |
---|---|
static class |
EditingServiceParameter.TYPE
TYPE represents the available type of parameters.
|
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.
|
Set<EditingServiceParameter.TYPE> getTypes()
Set
of parameter types.String getName()
String getDescription()
Object getDefaultValue()
void setDefaultValue(Object value)
int getGeometryType()
NULL
geometry type.
See Geometry.TYPES
Map<String,String> getOptions()
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".