Interface ParameterValue<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean booleanValue()
      Returns the boolean value of an operation parameter A boolean value does not have an associated unit of measure.
      ParameterValue clone()
      Returns a copy of this parameter value.
      double doubleValue()
      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[] doubleValueList()
      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.
      ParameterDescriptor<T> getDescriptor()
      Returns the abstract definition of this parameter value.
      Unit<?> getUnit()
      Returns the unit of measure of the parameter value.
      T getValue()
      Returns the parameter value as an object.
      int intValue()
      Returns the positive integer value of an operation parameter, usually used for a count.
      int[] intValueList()
      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 setValue​(Object value)
      Set the parameter value as an object.
      String stringValue()
      Returns the string value of an operation parameter.
      URI valueFile()
      Returns a reference to a file or a part of a file containing one or more parameter values.