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:
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    Returns the value of the 'Factor' attribute.
    Returns the value of the 'Formula' containment reference.
    boolean
    Returns whether the value of the 'Factor' attribute is set.
    void
    setFactor(double value)
    Sets the value of the 'Factor' attribute.
    void
    Sets the value of the 'Formula' containment reference.
    void
    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

    Methods inherited from interface UnitOfMeasureType

    getUom, setUom