Package org.geotools.api.parameter
Interface ParameterDescriptorGroup
-
- All Superinterfaces:
GeneralParameterDescriptor,IdentifiedObject
- All Known Implementing Classes:
DefaultParameterDescriptorGroup,ExtendedImagingParameterDescriptors,ImagingParameterDescriptors,MatrixParameterDescriptors,MatrixParameters
public interface ParameterDescriptorGroup extends GeneralParameterDescriptor
The definition of a group of related parameters used by an operation method.- Since:
- GeoAPI 2.0
- Author:
- Martin Desruisseaux (IRD), Jody Garnett (Refractions Research)
- See Also:
ParameterValueGroup,ParameterDescriptor
-
-
Field Summary
-
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ParameterValueGroupcreateValue()Creates a new instance of parameter value group initialized with the default values.GeneralParameterDescriptordescriptor(String name)Returns the parameter descriptor in this group for the specified identifier code.List<GeneralParameterDescriptor>descriptors()Returns the parameters in this group.-
Methods inherited from interface GeneralParameterDescriptor
getMaximumOccurs, getMinimumOccurs
-
Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getName, getRemarks, toWKT
-
-
-
-
Method Detail
-
createValue
ParameterValueGroup createValue()
Creates a new instance of parameter value group initialized with the default values. The parameter value descriptor for the created group will bethisobject.The number of
ParameterValueobjects included must be between the minimum and maximum occurences required. For example:- For
ParameterDescriptorwith cardinality 1:* aParameterValuewill be included with the default value (even if this default value is null). - For
ParameterDescriptorwith cardinality 0:* no entry is required.ParameterValueentries may be created only as needed.
- Specified by:
createValuein interfaceGeneralParameterDescriptor- Returns:
- A new parameter instance initialized to the default value.
- For
-
descriptors
List<GeneralParameterDescriptor> descriptors()
Returns the parameters in this group.- Returns:
- The descriptor of this group.
-
descriptor
GeneralParameterDescriptor descriptor(String name) throws ParameterNotFoundException
Returns the parameter descriptor in this group for the specified identifier code.- Parameters:
name- The case insensitive identifier code of the parameter to search for.- Returns:
- The parameter for the given identifier code.
- Throws:
ParameterNotFoundException- if there is no parameter for the given identifier code.
-
-