Previous UML Classes Table of Contents UML Packages Next

7.3.26 LiteralBoolean


Issue 8509 - capitalize ‘boolean’

   A literal Boolean is a specification of a Boolean value.



    LiteralSpecification (from Kernel ) on page 93


Issue 8509 - capitalize ‘boolean’

   A literal Boolean contains a Boolean-valued attribute. Default value is false.


Issue 9191 - add default value

   • value: Boolean The specified Boolean value.


   No additional associations


   No additional constraints

*Additional Operations

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

   [2] The query booleanValue() gives the value.

   LiteralBoolean ::booleanValue() : [Boolean]; booleanValue = value


   A LiteralBoolean specifies a constant Boolean value.


   A LiteralBoolean is shown as either the word ‘true’ or the word ‘false,’ corresponding to its value.