Package org.eclipse.esmf.metamodel
Interface Unit
- All Superinterfaces:
ModelElement,NamedElement
- All Known Implementing Classes:
DefaultUnit
A physical unit.
- Since:
- SAMM 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the unit's common code, as described in UNECE Recommendation 20Return the unit's conversion factor for unit conversionsReturn the unit's quantity kindsReturn the unit's reference unit for unit conversionsReturns the unit's symbolMethods inherited from interface org.eclipse.esmf.metamodel.ModelElement
accept, as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Method Details
-
getSymbol
Returns the unit's symbol -
getCode
Returns the unit's common code, as described in UNECE Recommendation 20 -
getReferenceUnit
Return the unit's reference unit for unit conversions -
getConversionFactor
Return the unit's conversion factor for unit conversions -
getQuantityKinds
Set<QuantityKind> getQuantityKinds()Return the unit's quantity kinds
-