Previous Table of Contents Next


12.1.2 Integer


   An integer is a primitive type representing integer values.

Description

   An instance of Integer is an element in the (infinite) set of integers (…-2, -1, 0, 1, 2…). It is used for integer attributes and integer expressions in the metamodel.

Attributes

   No additional attributes

Associations

   No additional associations

Constraints

   No additional constraints

Semantics

   Integer is an instance of PrimitiveType.

Notation

   Integer will appear as the type of attributes in the metamodel. Integer instances will be values associated to slots such as 1, -5, 2, 34, 26524, etc.

   Examples


   Figure 12.4 - An example of an integer attribute