public class DefaultEditingServiceParameter extends java.lang.Object implements EditingServiceParameter
EditingServiceParameter.TYPE
Constructor and Description |
---|
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.Object theDefaultValue,
java.lang.String theDescription,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
boolean optional,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
EditingServiceParameterOptions options,
java.lang.Object defaultValue,
boolean optional,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
EditingServiceParameterOptions theOptions,
java.lang.Object theDefaultValue,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
int theGeometryType,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
int theGeometryType,
EditingServiceParameterOptions theOptions,
java.lang.Object theDefaultValue,
boolean optional,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
int theGeometryType,
java.util.Map<java.lang.String,java.lang.String> theOptions,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
int theGeometryType,
java.util.Map<java.lang.String,java.lang.String> theOptions,
EditingServiceParameterOptions theOptions2,
java.lang.Object theDefaultValue,
boolean optional,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
int theGeometryType,
java.util.Map<java.lang.String,java.lang.String> theOptions,
java.lang.Object theDefaultValue,
boolean optional,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
int theGeometryType,
java.util.Map<java.lang.String,java.lang.String> theOptions,
java.lang.Object theDefaultValue,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
java.util.Map<java.lang.String,java.lang.String> theOptions,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
java.util.Map<java.lang.String,java.lang.String> options,
java.lang.Object defaultValue,
boolean optional,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
java.util.Map<java.lang.String,java.lang.String> theOptions,
java.lang.Object theDefaultValue,
EditingServiceParameter.TYPE... theTypes) |
DefaultEditingServiceParameter(java.lang.String theName,
java.lang.String theDescription,
java.lang.Object theDefaultValue,
int theGeometryType,
EditingServiceParameter.TYPE... theTypes) |
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) |
DefaultEditingServiceParameter |
setAllowNull(boolean allowNull) |
DefaultEditingServiceParameter |
setDataType(int dataType) |
void |
setDefaultValue(java.lang.Object value)
Sets the default value of this parameter.
|
void |
setDescription(java.lang.String newDescription)
Sets the description.
|
void |
setOptional(boolean optional) |
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, boolean optional, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, java.util.Map<java.lang.String,java.lang.String> options, java.lang.Object defaultValue, boolean optional, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, EditingServiceParameterOptions options, java.lang.Object defaultValue, boolean optional, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.Object theDefaultValue, java.lang.String theDescription, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, int theGeometryType, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, java.lang.Object theDefaultValue, int theGeometryType, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, java.util.Map<java.lang.String,java.lang.String> theOptions, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, java.util.Map<java.lang.String,java.lang.String> theOptions, java.lang.Object theDefaultValue, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, EditingServiceParameterOptions theOptions, java.lang.Object theDefaultValue, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, int theGeometryType, java.util.Map<java.lang.String,java.lang.String> theOptions, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, int theGeometryType, java.util.Map<java.lang.String,java.lang.String> theOptions, java.lang.Object theDefaultValue, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, int theGeometryType, java.util.Map<java.lang.String,java.lang.String> theOptions, java.lang.Object theDefaultValue, boolean optional, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, int theGeometryType, EditingServiceParameterOptions theOptions, java.lang.Object theDefaultValue, boolean optional, EditingServiceParameter.TYPE... theTypes)
public DefaultEditingServiceParameter(java.lang.String theName, java.lang.String theDescription, int theGeometryType, java.util.Map<java.lang.String,java.lang.String> theOptions, EditingServiceParameterOptions theOptions2, java.lang.Object theDefaultValue, boolean optional, EditingServiceParameter.TYPE... theTypes)
public java.util.Set<EditingServiceParameter.TYPE> getTypes()
EditingServiceParameter
getTypes
in interface EditingServiceParameter
Set
of parameter types.public java.lang.String getName()
EditingServiceParameter
getName
in interface EditingServiceParameter
public java.lang.String getDescription()
EditingServiceParameter
getDescription
in interface EditingServiceParameter
public void setDescription(java.lang.String newDescription)
EditingServiceParameter
setDescription
in interface EditingServiceParameter
public int getGeometryType()
EditingServiceParameter
NULL
geometry type.
See Geometry.TYPES
getGeometryType
in interface EditingServiceParameter
public java.util.Map<java.lang.String,java.lang.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 EditingServiceParameterOptions getOptions2()
getOptions2
in interface EditingServiceParameter
public java.lang.Object getDefaultValue()
EditingServiceParameter
getDefaultValue
in interface EditingServiceParameter
public void setDefaultValue(java.lang.Object value)
EditingServiceParameter
setDefaultValue
in interface EditingServiceParameter
public java.lang.String getConsoleDefaultValue()
getConsoleDefaultValue
in interface EditingServiceParameter
public boolean isOptional()
EditingServiceParameter
isOptional
in interface EditingServiceParameter
public void setOptional(boolean optional)
public DefaultEditingServiceParameter setDataType(int dataType)
public int getDataType()
getDataType
in interface EditingServiceParameter
public DefaultEditingServiceParameter setAllowNull(boolean allowNull)
public boolean getAllowNull()
getAllowNull
in interface EditingServiceParameter
public boolean isValidValue(java.lang.Object value)
isValidValue
in interface EditingServiceParameter
public java.lang.Object coerceValue(java.lang.Object value)
coerceValue
in interface EditingServiceParameter