Interface FormulaType

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
FormulaTypeImpl

public interface FormulaType extends EObject
A representation of the model object 'Formula Type'. Paremeters of a simple formula by which a value using this unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type "double". These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the preferred unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters.

The following features are supported:

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the 'A' attribute.
    double
    Returns the value of the 'B' attribute.
    double
    Returns the value of the 'C' attribute.
    double
    Returns the value of the 'D' attribute.
    boolean
    Returns whether the value of the 'A' attribute is set.
    boolean
    Returns whether the value of the 'B' attribute is set.
    boolean
    Returns whether the value of the 'C' attribute is set.
    boolean
    Returns whether the value of the 'D' attribute is set.
    void
    setA(double value)
    Sets the value of the 'A' attribute.
    void
    setB(double value)
    Sets the value of the 'B' attribute.
    void
    setC(double value)
    Sets the value of the 'C' attribute.
    void
    setD(double value)
    Sets the value of the 'D' attribute.
    void
    Unsets the value of the 'A' attribute.
    void
    Unsets the value of the 'B' attribute.
    void
    Unsets the value of the 'C' attribute.
    void
    Unsets the value of the 'D' attribute.

    Methods inherited from interface EObject

    eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset

    Methods inherited from interface Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver
  • Method Details

    • getA

      double getA()
      Returns the value of the 'A' attribute.

      If the meaning of the 'A' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'A' attribute.
      See Also:
    • setA

      void setA(double value)
      Sets the value of the 'A' attribute.
      Parameters:
      value - the new value of the 'A' attribute.
      See Also:
    • unsetA

      void unsetA()
      Unsets the value of the 'A' attribute.
      See Also:
    • isSetA

      boolean isSetA()
      Returns whether the value of the 'A' attribute is set.
      Returns:
      whether the value of the 'A' attribute is set.
      See Also:
    • getB

      double getB()
      Returns the value of the 'B' attribute.

      If the meaning of the 'B' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'B' attribute.
      See Also:
    • setB

      void setB(double value)
      Sets the value of the 'B' attribute.
      Parameters:
      value - the new value of the 'B' attribute.
      See Also:
    • unsetB

      void unsetB()
      Unsets the value of the 'B' attribute.
      See Also:
    • isSetB

      boolean isSetB()
      Returns whether the value of the 'B' attribute is set.
      Returns:
      whether the value of the 'B' attribute is set.
      See Also:
    • getC

      double getC()
      Returns the value of the 'C' attribute.

      If the meaning of the 'C' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'C' attribute.
      See Also:
    • setC

      void setC(double value)
      Sets the value of the 'C' attribute.
      Parameters:
      value - the new value of the 'C' attribute.
      See Also:
    • unsetC

      void unsetC()
      Unsets the value of the 'C' attribute.
      See Also:
    • isSetC

      boolean isSetC()
      Returns whether the value of the 'C' attribute is set.
      Returns:
      whether the value of the 'C' attribute is set.
      See Also:
    • getD

      double getD()
      Returns the value of the 'D' attribute.

      If the meaning of the 'D' attribute isn't clear, there really should be more of a description here...

      Returns:
      the value of the 'D' attribute.
      See Also:
    • setD

      void setD(double value)
      Sets the value of the 'D' attribute.
      Parameters:
      value - the new value of the 'D' attribute.
      See Also:
    • unsetD

      void unsetD()
      Unsets the value of the 'D' attribute.
      See Also:
    • isSetD

      boolean isSetD()
      Returns whether the value of the 'D' attribute is set.
      Returns:
      whether the value of the 'D' attribute is set.
      See Also: