Previous UML Classes Table of Contents UML Packages Next


7.3.31 LiteralUnlimitedNatural

Kernel


   A literal unlimited natural is a specification of an unlimited natural number.

*Generalizations

   

    LiteralSpecification (from Kernel ) on page 93

*Description

   A literal unlimited natural contains an UnlimitedNatural-valued attribute.

*Attributes

Issue 9191 - add default value

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

*Associations

   No additional associations

*Constraints

   No additional constraints

*Additional Operations

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

   [2] The query unlimitedValue() gives the value. LiteralUnlimitedNatural ::unlimitedValue() : [UnlimitedNatural]; unlimitedValue = value

*Semantics

   A LiteralUnlimitedNatural specifies a constant UnlimitedNatural value.

*Notation

   A LiteralUnlimitedNatural is shown either as a sequence of digits or as an asterisk (*), where an asterisk denotes unlimited (and not infinity).