Interface ParameterValue<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean booleanValue()
      Returns the boolean value of this parameter.
      ParameterValue<T> clone()
      Returns a copy of this parameter value.
      double doubleValue()
      Returns the numeric value of this operation parameter.
      double doubleValue​(Unit<?> unit)
      Returns the numeric value of this parameter in the specified unit of measure.
      double[] doubleValueList()
      Returns an ordered sequence of two or more numeric values of this parameter, 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 integer value of this parameter, usually used for a count.
      int[] intValueList()
      Returns an ordered sequence of two or more integer values of this parameter, usually used for counts.
      void setValue​(boolean value)
      Sets 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)
      Sets the parameter value as an integer.
      void setValue​(Object value)
      Sets the parameter value as an object.
      String stringValue()
      Returns the string value of this parameter.
      URI valueFile()
      Returns a reference to a file or a part of a file containing one or more parameter values.