Class AbstractParameterDescriptor

    • Constructor Detail

      • AbstractParameterDescriptor

        protected AbstractParameterDescriptor​(GeneralParameterDescriptor descriptor)
        Constructs a descriptor with the same values than the specified one. This copy constructor may be used in order to wraps an arbitrary implementation into a Geotools one.
        Since:
        2.2
      • AbstractParameterDescriptor

        protected AbstractParameterDescriptor​(Map<String,​?> properties,
                                              int minimumOccurs,
                                              int maximumOccurs)
        Constructs a parameter from a set of properties. The properties map is given unchanged to the super-class constructor.
        Parameters:
        properties - Set of properties. Should contains at least "name".
        minimumOccurs - The minimum number of times that values for this parameter group or parameter are required.
        maximumOccurs - The maximum number of times that values for this parameter group or parameter are required. This value is used in order to check the range. For ParameterValue, it should always be 1.