Annotation Interface Parameter
Marks a processing parameter field of an
Operator.
The field can be of any type.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionGets a conditional expression which must returntruein order to indicate that the parameter value is valid, e.g.A converter to be used to convert a text to the parameter value and vice versa.Gets the parameter's default value.Class<? extends DomConverter> A converter to be used to convert an (XML) DOM to the parameter value and vice versa.Gets a format string to which a textual parameter value must match in order to indicate a valid value, e.g.Gets the valid interval for numeric parameters, e.g.booleanParameter value must not be an empty string?booleanParameter value must not benull?Gets a regular expression pattern to which a textual parameter value must match in order to indicate a valid value, e.g.Class<? extends RasterDataNode> Specifies whichRasterDataNodesubclass of the source products is used to fill thevalueSet()for this parameter.A validator to be used to validate a parameter value.String[]Gets the set of values which can be assigned to a parameter field.
-
Element Details
-
alias
String alias- Returns:
- An alias name for the parameter. Defaults to the empty string (= not set).
- Default:
""
-
itemAlias
String itemAlias- Returns:
- An alias name for the elements of a parameter array. Forces element-wise array conversion from and to DOM representation. Defaults to the empty string (= not set).
- Default:
""
-
defaultValue
String defaultValueGets the parameter's default value. The default value set is given as a textual representations of the actual value. The framework creates the actual value set by converting the text value to an object using the associatedConverter.- Returns:
- The default value. Defaults to the empty string (= not set).
- See Also:
- Default:
""
-
label
String label- Returns:
- A human-readable version of the name to be used in user interfaces. Defaults to the empty string (= not set).
- Default:
""
-
unit
String unit- Returns:
- The parameter physical unit. Defaults to the empty string (= not set).
- Default:
""
-
description
String description- Returns:
- The parameter description. Defaults to the empty string (= not set).
- Default:
""
-
valueSet
String[] valueSetGets the set of values which can be assigned to a parameter field. The value set is given as textual representations of the actual values. The framework creates the actual value set by converting each text value to an object value using the associatedConverter.- Returns:
- The value set.Defaults to empty array (= not set).
- See Also:
- Default:
{}
-
interval
String intervalGets the valid interval for numeric parameters, e.g."[10,20)": in the range 10 (inclusive) to 20 (exclusive).- Returns:
- The valid interval. Defaults to empty string (= not set).
- Default:
""
-
condition
String conditionGets a conditional expression which must returntruein order to indicate that the parameter value is valid, e.g."value > 2.5".- Returns:
- A conditional expression. Defaults to empty string (= not set).
- Default:
""
-
pattern
String patternGets a regular expression pattern to which a textual parameter value must match in order to indicate a valid value, e.g."a*".- Returns:
- A regular expression pattern. Defaults to empty string (= not set).
- See Also:
- Default:
""
-
format
String formatGets a format string to which a textual parameter value must match in order to indicate a valid value, e.g."yyyy-MM-dd HH:mm:ss.Z".- Returns:
- A format string. Defaults to empty string (= not set).
- See Also:
- Default:
""
-
notNull
boolean notNullParameter value must not benull?- Returns:
true, if so. Defaults tofalse.
- Default:
false
-
notEmpty
boolean notEmptyParameter value must not be an empty string?- Returns:
true, if so. Defaults tofalse.
- Default:
false
-
validator
A validator to be used to validate a parameter value.- Returns:
- The validator class.
- Default:
com.bc.ceres.binding.Validator.class
-
converter
A converter to be used to convert a text to the parameter value and vice versa.- Returns:
- The converter class.
- Default:
com.bc.ceres.binding.Converter.class
-
domConverter
Class<? extends DomConverter> domConverterA converter to be used to convert an (XML) DOM to the parameter value and vice versa.- Returns:
- The DOM converter class.
- Default:
com.bc.ceres.binding.dom.DomConverter.class
-
rasterDataNodeType
Class<? extends RasterDataNode> rasterDataNodeTypeSpecifies whichRasterDataNodesubclass of the source products is used to fill thevalueSet()for this parameter.- Returns:
- The raster data node type.
- Default:
org.esa.snap.core.datamodel.RasterDataNode.class
-