Previous Table of Contents Next


12.1.1 Boolean


   A boolean type is used for logical expression, consisting of the predefined values true and false.

Description

   Boolean is an instance of PrimitiveType. In the metamodel, Boolean defines an enumeration that denotes a logical condition. Its enumeration literals are:

Attributes

   No additional attributes

Associations

   No additional associations

Constraints

   No additional constraints

Semantics

   Boolean is an instance of PrimitiveType.

Notation

   Boolean will appear as the type of attributes in the metamodel. Boolean instances will be values associated to slots, and can have literally the following values: true, or false.

Examples

   Figure 12.3 - An example of a boolean attribute