View: Hide Browser | Browser on the left | Browser on the right | Dictionary
Report:General Info | Attributes | Operations | Relations | Constraints

Parent Package: quantity
Class C_QUANTITY_ITEM
Constrain instances of DV_QUANTITY.

Attributes
SignatureOptionalityMultiplicityConstantDocumentation
 magnitude : Interval<Real> 0..1  --  

Constraint on the magnitude of the DV_QUANTITY.

 
 precision : Interval<Integer> 0..1  --  

Constraint on the precision of the DV_QUANTITY.

A value of -1 means that precision is unconstrained.

 
 units : String 0..1  --  

Constraint on the units of the DV_QUANTITY.

 


Operations
SignatureConstraintsDocumentation
 precision_unconstrained() : Boolean 
inv: units <> Void and not units.is_empty  
True if no constraint on precision; True if precision = -1. 

Constraints
NameExpression
units_validinv: units<> Void and not units.is_empty