Datatypes::Unit

Header Image
Content:
Unit : Public Class Datatypes
A Unit describes a unit used for numerical values of a datatype. It may relate to another unit to enable conversions. It may also reference a quantity to give a dimension of the unit.<br/><br/>As a unit conversion example: <br/>The Unit with name Second has the factor 1000, and the reference Millisecond, i.e.:<br/>second = 1000 * millisecond <br/>Moreover the Unit may be given a symbol and an offset, for example:<br/>The Unit Fahrenheit with factor 1.8 and offset 32 gives with the reference to Celsius the definition of Fahrenheit:<br/>F = C*9/5 + 32<br/><br/>Semantics:<br/>Unit descibes the unit of typed numerical values.<br/>
  • Attributes
  • Associations
  • Associations From
  • Advanced
  • Other Links
Attribute Scope Type
factor Public Float
 
offset Public Float
 
symbol Public String
 
Element Source Role Target Role
Unit
Class  
Name:  
 
Name: reference
 
Details:
 
Quantity
Class  
Name:  
 
Name: quantity
The (physical) quantity, e.g., "Speed", "Temperature".
Details:
 
Element Source Role Target Role
EANumerical
Class  
Name:  
 
Name: unit
The unit of data. Example: For temperature the unit may be "degree Celsius".
Details:
 
Unit
Class  
Name:  
 
Name: reference
 
Details:
 
Property Value
isFinalSpecialization: 0
Object Type Connection Direction Notes
EAPackageableElement Class Generalization To