Class PROPORTION_KIND

Class of enumeration constants defining types of proportion for the
DV_PROPORTION class.

Declaration :

Directly inherited by : DV_PROPORTION

Artifact : PROPORTION_KIND

Attribut pk_ratio

Ratio type. Numerator and denominator may be any value.

Declaration :

Stereotype: const

Attribut pk_unitary

Denominator must be 1

Declaration :

Attribut pk_percent

Denominator is 100, numerator is
understood as a percentage value.

Declaration :

Attribut pk_fraction

Numerator and denominator are integral, and the presentation
method uses a slash, e.g. 1/2 .

Declaration :

Attribut pk_integer_fraction

Numerator and denominator are integral, and the presentation
method uses a slash, e.g. 1/2

Declaration :

Operation valid_proportion_kind

True if n is one of the defined types.

Declaration :

All public operations : valid_proportion_kind