Interface ConversionToPreferredUnitType

  • All Superinterfaces:
    EObject, Notifier, UnitOfMeasureType
    All Known Implementing Classes:
    ConversionToPreferredUnitTypeImpl

    public interface ConversionToPreferredUnitType
    extends UnitOfMeasureType
    A representation of the model object 'Conversion To Preferred Unit Type'. Relation of a unit to the preferred unit for this quantity type, specified by an arithmetic conversion (scaling and/or offset). A preferred unit is either a base unit or a derived unit selected for all units of one quantity type. The mandatory attribute "uom" shall reference the preferred unit that this conversion applies to. The conversion is specified by one of two alternative elements: "factor" or "formula".

    The following features are supported:

    See Also:
    Gml311Package.getConversionToPreferredUnitType()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getFactor()
      Returns the value of the 'Factor' attribute.
      FormulaType getFormula()
      Returns the value of the 'Formula' containment reference.
      boolean isSetFactor()
      Returns whether the value of the 'Factor' attribute is set.
      void setFactor​(double value)
      Sets the value of the 'Factor' attribute.
      void setFormula​(FormulaType value)
      Sets the value of the 'Formula' containment reference.
      void unsetFactor()
      Unsets the value of the 'Factor' 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