: Public abstract Class
Created: |
23.5.2022 18.05.04 |
Modified: |
1.8.2022 13.54.02 |
|
Project: |
|
Author: |
Marko Kauppi |
Version: |
2005 |
Phase: |
IS |
Status: |
Superseeded |
Complexity: |
Easy |
Difficulty: |
|
Priority: |
|
Multiplicity: |
|
Advanced: |
|
UUID: |
{AB216E33-1DC2-403b-A0C1-9107E9A9F204} |
Appears In: |
Context Diagram: UomVolume, Context Diagram: UomAngle, Context Diagram: Measure, Context Diagram: UomWeight, Context Diagram: UomScale, Main, Context Diagram: UomArea, Context Diagram: UomCurrency, Context Diagram: UomTime, Context Diagram: UnitOfMeasure, Context Diagram: UomLength, Context Diagram: UomVelocity |
Any of the systems devised to measure some physical quantity such distance or area or a system devised to measure such things as the passage of time.<br/><br/>The classes of UnitOfMeasure are determined by the member "measureType." Subclasses are not needed for implementation, but their use makes type constraints on measure valued attributes easier to specify. <br/><br/>-- conversionToISOstandardUnit is not null only if the conversion is a simple scale<br/>
- Attributes
- Operations
- Associations To
- Associations From
- Tagged Values
- Constraints
- Advanced
- Other Links
Attribute |
Public CharacterString formula
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
Range:0 to 1 |
Transient: |
False |
Derived: |
False |
IsID: |
False |
Notes:
|
An algebraic formula (probably in some programming language) converting this unit of measure (represented in the formula by its uomSymbol) to the ISO standard (represented by its symbol. This member attribute is not required, but it is a valuable piece of documentation. <br/>
|
|
Public MeasureType measureType
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
|
Transient: |
False |
Derived: |
False |
IsID: |
False |
|
Public CharacterString nameStandardUnit
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
Range:0 to 1 |
Transient: |
False |
Derived: |
False |
IsID: |
False |
Notes:
|
Name of the standard units to which this unit of measure can be directly converted. If this variable is NULL, then the standard unit for this measure type given by the local copy of the StandardsUnits code list. <br/>
|
|
Public Real offsetToStandardUnit
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
Range:0 to 1 |
Transient: |
False |
Derived: |
False |
IsID: |
False |
Notes:
|
See scaleToStandardUnit for a description. Again, this variable is NULL is no linear conversion is possible. If the two units are only a scale in difference, then this number is zero (0). If the implementation system used for this object does not support NULL, the then scale set to 0 is equivalent to NULL for both scale and offset. <br/>
|
|
Public Real scaleToStandardUnit
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
Range:0 to 1 |
Transient: |
False |
Derived: |
False |
IsID: |
False |
Notes:
|
Multiplicative factor for conversion of this unit of measure to the standard one (often the ISO standard unit). This is NULL (or equivalent zero (0)) if the conversion is not simply a linear one. <br/>If the implementation system used for this object does not support NULL, the scale set to 0 is equivalent to NULL for both scale and offset. <br/>If X is the current unit, and S is the standard one the of two variables scale(ToStandardUnit) and offset(ToStandardUnit) can be used to make the conversion from X to S by:<br/><br/>S = offset + scale*X<br/><br/>and, conversely,<br/><br/>X = (S-offset)/scale<br/>
|
|
Public CharacterString uomName
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
|
Transient: |
False |
Derived: |
False |
IsID: |
False |
Notes:
|
The name(s) of a particular unit of measure. Examples would include the following: 1) for uomArea - square feet, 2) for uomTime - seconds, 3)for uomArea - miles and 4) uomAngle - degrees.<br/>
|
|
Public CharacterString uomSymbol
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
|
Transient: |
False |
Derived: |
False |
IsID: |
False |
Notes:
|
The symbol used for this unit of measure, such at "ft" for feet, or "m" for meter. <br/>
|
|
Element |
Source Role |
Target Role |
Measure
Class
|
Name: uom
The units used by the measure.
|
Name: measure
The measure in question.
|
 Details:
|
UnitOfMeasure
Class
|
Name:
|
Name: subunit
|
 Details:
|
Element |
Source Role |
Target Role |
UnitOfMeasure
Class
|
Name:
|
Name: subunit
|
 Details:
|
Tag |
Value |
persistence |
persistent |
 Details:
|
Constraint |
Type |
Status |
conversionToISOstandardUnit is not null only of the conversion is a simple |
Invariant |
Superseeded |
 Details:
conversionToISOstandardUnit is not null only of the conversion is a simple <br/>
|
Property |
Value |
isFinalSpecialization: |
0 |