Interface ParameterDescriptor<T>

    • Method Detail

      • getValidValues

        Set<T> getValidValues()
        Returns the set of allowed values when these are restricted to some finite set or returns null otherwise. The returned set usually contains code list or enumeration elements.
        Returns:
        A finite set of valid values (usually from a code list), or null if it doesn't apply.
      • getDefaultValue

        @UML(identifier="GC_ParameterInfo.defaultValue",
             obligation=OPTIONAL,
             specification=ISO_19111)
        T getDefaultValue()
        Returns the default value for the parameter. The return type can be any type including a Number or a String. If there is no default value, then this method returns null.
        Returns:
        The default value, or null in none.
      • getMinimumValue

        @UML(identifier="GC_ParameterInfo.minimumValue",
             obligation=OPTIONAL,
             specification=ISO_19111)
        Comparable<T> getMinimumValue()
        Returns the minimum parameter value.

        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.

        Returns:
        The minimum parameter value (often an instance of Double), or null.
      • getMaximumValue

        @UML(identifier="GC_ParameterInfo.maximumValue",
             obligation=OPTIONAL,
             specification=ISO_19111)
        Comparable<T> getMaximumValue()
        Returns the maximum parameter value.

        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.

        Returns:
        The minimum parameter value (often an instance of Double), or null.
      • getUnit

        Unit<?> getUnit()
        Returns the unit for default, minimum and maximum values. This attribute apply only if the values is of numeric type (usually an instance of Double).
        Returns:
        The unit for numeric value, or null if it doesn't apply to the value type.