Interface ParameterValue<T>

Type Parameters:
T - The type of parameter values.
All Superinterfaces:
GeneralParameterValue

@UML(identifier="CC_ParameterValue", specification=ISO_19111) public interface ParameterValue<T> extends GeneralParameterValue
A parameter value used by an operation method. Most parameter values are numeric and can be obtained by the intValue() or doubleValue() methods. But other types of parameter values are possible and can be handled by the more generic getValue() and setValue(Object) methods. The type and constraints on parameter values are given by the descriptor.

Instances of ParameterValue are created by the ParameterDescriptor.createValue() method.

Since:
1.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns the boolean value of an operation parameter A boolean value does not have an associated unit of measure.
    Returns a copy of this parameter value.
    double
    Returns the numeric value of the coordinate operation parameter with its associated unit of measure.
    double
    doubleValue(Unit<?> unit)
    Returns the numeric value of the coordinate operation parameter in the specified unit of measure.
    double[]
    Returns an ordered sequence of two or more numeric values of an operation parameter list, where each value has the same associated unit of measure.
    double[]
    doubleValueList(Unit<?> unit)
    Returns an ordered sequence of numeric values in the specified unit of measure.
    Returns the abstract definition of this parameter value.
    Unit<?>
    Returns the unit of measure of the parameter value.
    Returns the parameter value as an object.
    int
    Returns the positive integer value of an operation parameter, usually used for a count.
    int[]
    Returns an ordered sequence of two or more integer values of an operation parameter list, usually used for counts.
    void
    setValue(boolean value)
    Set the parameter value as a boolean.
    void
    setValue(double value)
    Sets the parameter value as a floating point.
    void
    setValue(double[] values, Unit<?> unit)
    Sets the parameter value as an array of floating point and their associated unit.
    void
    setValue(double value, Unit<?> unit)
    Sets the parameter value as a floating point and its associated unit.
    void
    setValue(int value)
    Set the parameter value as an integer.
    void
    Set the parameter value as an object.
    Returns the string value of an operation parameter.
    Returns a reference to a file or a part of a file containing one or more parameter values.