Previous UML Classes Table of Contents UML Packages Next


17.4.2 Integer

PrimitiveType s


   An integer is a primitive type representing integer values.

*Generalizations

   None

   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 17.13 - An example of an integer attribute