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:
    Gml311Package.getFormulaType()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getA()
      Returns the value of the 'A' attribute.
      double getB()
      Returns the value of the 'B' attribute.
      double getC()
      Returns the value of the 'C' attribute.
      double getD()
      Returns the value of the 'D' attribute.
      boolean isSetA()
      Returns whether the value of the 'A' attribute is set.
      boolean isSetB()
      Returns whether the value of the 'B' attribute is set.
      boolean isSetC()
      Returns whether the value of the 'C' attribute is set.
      boolean isSetD()
      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 unsetA()
      Unsets the value of the 'A' attribute.
      void unsetB()
      Unsets the value of the 'B' attribute.
      void unsetC()
      Unsets the value of the 'C' attribute.
      void unsetD()
      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 Detail

      • setA

        void setA​(double value)
        Sets the value of the 'A' attribute.
        Parameters:
        value - the new value of the 'A' attribute.
        See Also:
        isSetA(), unsetA(), getA()
      • 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:
        unsetA(), getA(), setA(double)
      • setB

        void setB​(double value)
        Sets the value of the 'B' attribute.
        Parameters:
        value - the new value of the 'B' attribute.
        See Also:
        isSetB(), unsetB(), getB()
      • 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:
        unsetB(), getB(), setB(double)
      • setC

        void setC​(double value)
        Sets the value of the 'C' attribute.
        Parameters:
        value - the new value of the 'C' attribute.
        See Also:
        isSetC(), unsetC(), getC()
      • 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:
        unsetC(), getC(), setC(double)
      • setD

        void setD​(double value)
        Sets the value of the 'D' attribute.
        Parameters:
        value - the new value of the 'D' attribute.
        See Also:
        isSetD(), unsetD(), getD()
      • 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:
        unsetD(), getD(), setD(double)