T - The type of parameter values.@UML(identifier="CC_OperationParameter", specification=ISO_19111) public interface ParameterDescriptor<T> extends GeneralParameterDescriptor
ParameterValue,
ParameterDescriptorGroupALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY| Modifier and Type | Method and Description |
|---|---|
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()
|
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.
|
getMaximumOccurs, getMinimumOccursgetAlias, getIdentifiers, getName, getRemarks, toWKT@Extension ParameterValue<T> createValue()
this object.createValue in interface GeneralParameterDescriptor@UML(identifier="GC_ParameterInfo.type", obligation=MANDATORY, specification=ISO_19111) Class<T> getValueClass()
@Extension Set<T> getValidValues()
null otherwise. The returned set usually contains code list or
enumeration elements.null if it doesn't apply.@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()
If there is no minimum value, or if minimum value is inappropriate for the parameter type, then this method returns 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()
If there is no maximum value, or if maximum value is inappropriate for the parameter type, then this method returns null.
When the getValueClass() is an array or Collection getMaximumValue may be used to constratin the contained elements.
Double), or null.@Extension Unit<?> getUnit()
Double).null if it doesn't apply to the value type.Copyright © 1996–2019 Geotools. All rights reserved.