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 |
---|---|
java.lang.Object |
coerceValue(java.lang.Object value) |
boolean |
getAllowNull() |
java.lang.String |
getConsoleDefaultValue() |
int |
getDataType() |
java.lang.Object |
getDefaultValue()
Gets the default value of this parameter.
|
java.lang.String |
getDescription()
Gets a description of parameter.
|
int |
getGeometryType()
If parameter is of type Geometry returns the type of geometry
required by this parameter.
|
java.lang.String |
getName()
Gets a name of parameter.
|
java.util.Map<java.lang.String,java.lang.String> |
getOptions()
If parameter is of type Options, returns a
Map with valid
options. |
EditingServiceParameterOptions |
getOptions2() |
java.util.Set<EditingServiceParameter.TYPE> |
getTypes()
Gets types of this parameter.
|
boolean |
isOptional()
Returns "true" if it does not have to be displayed for the user to fill
in, but it can be filled in by the user so that other parameters depend
on it.
|
boolean |
isValidValue(java.lang.Object value) |
void |
setDefaultValue(java.lang.Object value)
Sets the default value of this parameter.
|
void |
setDescription(java.lang.String newDescription)
Sets the description.
|
java.util.Set<EditingServiceParameter.TYPE> getTypes()
Set
of parameter types.java.lang.String getName()
java.lang.String getDescription()
void setDescription(java.lang.String newDescription)
newDescription
- java.lang.Object getDefaultValue()
void setDefaultValue(java.lang.Object value)
value
- java.lang.String getConsoleDefaultValue()
int getGeometryType()
NULL
geometry type.
See Geometry.TYPES
java.util.Map<java.lang.String,java.lang.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".EditingServiceParameterOptions getOptions2()
boolean isOptional()
int getDataType()
boolean isValidValue(java.lang.Object value)
java.lang.Object coerceValue(java.lang.Object value)
boolean getAllowNull()