Previous UML Classes Table of Contents UML Packages Next

7.3.27 LiteralInteger


   A literal integer is a specification of an integer value.



    LiteralSpecification (from Kernel ) on page 93


   A literal integer contains an Integer-valued attribute.


Issue 9191 -add default value

   • value: Integer The specified Integer value. Default value is 0.


   No additional associations


   No additional constraints

*Additional Operations

   [1] The query isComputable() is redefined to be true. LiteralInteger ::isComputable(): Boolean; isComputable = true

   [2] The query integerValue() gives the value. LiteralInteger ::integerValue() : [Integer]; integerValue = value


   A LiteralInteger specifies a constant Integer value.


   A LiteralInteger is shown as a sequence of digits.