This is as is in ISO 21090 other than the specific constraint to prevent the use of CO as a data type for the numerator and
denominator.
Specializes
Attributes
| Name |
Data type |
Occurs |
Description |
|
denominator
|
QTY
|
0..1 |
Must not be coded ordinal (CO) |
|
numerator
|
QTY
|
0..1 |
Must not be coded ordinal (CO) |
Constraints
| Type |
Name |
Specification |
| no coded ordinal ratios in LRA |
LRA Invariant |
inv: (not numerator.oclIsTypeOf(CO)) and (not denominator.oclIsTypeOf(CO)) |
| no uncertainty |
Invariant |
inv: uncertainty.isNull |
| no updateMode or History on RTO Attributes |
Invariant |
inv: noUpdateOrHistory(numerator) and noUpdateOrHistory(denominator) |
| numerator and denominator required |
Invariant |
inv: isNull xor (numerator.isNotNull and denominator.isNotNull) |