|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of parameter values.@UML(identifier="CC_OperationParameter",
specification=ISO_19111)
public interface ParameterDescriptor<T>The definition of a parameter used by an operation method. Most parameter values are numeric, but other types of parameter values are possible.
ParameterValue,
ParameterDescriptorGroupDeparture from OGC/ISO specification:
GeoAPI uses a name which contains the "Descriptor" word for consistency with other libraries in Java (e.g.ParameterListDescriptorin Java Advanced Imaging).
| Field Summary |
|---|
| Fields inherited from interface IdentifiedObject |
|---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
| Method Summary | |
|---|---|
ParameterValue<T> |
createValue()
Creates a new instance of parameter value initialized with the default value. |
T |
getDefaultValue()
Returns the default value for the parameter. |
Comparable<T> |
getMaximumValue()
Returns the maximum parameter value. |
Comparable<T> |
getMinimumValue()
Returns the minimum parameter value. |
Unit<?> |
getUnit()
Returns the unit for default, minimum and maximum values. |
Set<T> |
getValidValues()
Returns the set of allowed values when these are restricted to some finite set or returns null otherwise. |
Class<T> |
getValueClass()
Returns the class that describe the type of the parameter. |
| Methods inherited from interface GeneralParameterDescriptor |
|---|
getMaximumOccurs, getMinimumOccurs |
| Methods inherited from interface IdentifiedObject |
|---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
| Method Detail |
|---|
ParameterValue<T> createValue()
this object.
createValue in interface GeneralParameterDescriptorDeparture from OGC/ISO specification:
This method is not part of the ISO specification. It is provided in GeoAPI as a kind of factory method.
@UML(identifier="GC_ParameterInfo.type",
obligation=MANDATORY,
specification=ISO_19111)
Class<T> getValueClass()
Set<T> getValidValues()
null otherwise. The returned set usually contains code list
or enumeration elements.
null if it doesn't apply.Departure from OGC/ISO specification:
This method is not part of ISO specification. It is provided as a complement of information.
@UML(identifier="GC_ParameterInfo.defaultValue",
obligation=OPTIONAL,
specification=ISO_19111)
T getDefaultValue()
Number or a String. If there is no default value,
then this method returns null.
null in none.
@UML(identifier="GC_ParameterInfo.minimumValue",
obligation=OPTIONAL,
specification=ISO_19111)
Comparable<T> getMinimumValue()
null.
When the getValueClass() is an array or Collection getMinimumValue may be used to constrain the contained elements.
Double), or null.
@UML(identifier="GC_ParameterInfo.maximumValue",
obligation=OPTIONAL,
specification=ISO_19111)
Comparable<T> getMaximumValue()
null.
When the getValueClass() is an array or Collection getMaximumValue may be used to constraint the contained elements.
Double), or null.Unit<?> getUnit()
Double).
null if it doesn't apply to the value type.Departure from OGC/ISO specification:
This method is not part of ISO specification. It is provided as a complement of information.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||