Previous UML Classes Table of Contents UML Packages Next

17.4.2 Integer

PrimitiveType s

   An integer is a primitive type representing integer values.




   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.


   No additional attributes


   No additional associations


   No additional constraints


   Integer is an instance of PrimitiveType .


   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.


   Figure 17.13 - An example of an integer attribute