A specification of the maximum number of digits allowable following the decimal point in the decimal representation of an
instance of type Real.
Specializes
Attributes
| Name |
Data type |
Occurs |
Description |
|
value
|
Integer
|
0..1 |
The maximum number of digits allowable following the decimal point in the decimal representation of an instance of type Real,
specified by this FractionDigitsSpecification.
|
Constraints
| Type |
Name |
Specification |
| Instance is specification for constraint that binds to a PrimitiveType instance of type Real |
LRA Invariant |
inv: constraint.contraintBinding.instance.type->forAll(c: Class | c.oclIsType(Primitive) and c.qualifiedName = "lra::datatypes::uml::kernel::Real")
|
| Specification is exclusively by value or by reference |
LRA Invariant |
inv:
if not self.value.oclIsUndefined() then
self.valueRef.oclIsUndefined()
else
self.value.oclIsUndefined() and not self.valueRef.oclIsUndefined()
endif
|
Reference Model Type