LiteralBoolean

A literal boolean is a specification of a boolean value.

Description

A literal boolean contains a Boolean-valued attribute.

Attributes

• value: Boolean         The specified Boolean value.

Associations

No additional associations.

Constraints

No additional constraints.

Additional Operation

  1. The query isComputable() is redefined to be true.

    LiteralInteger::isComputable(): Boolean; isComputable = true

  2. The query booleanValue() gives the value.

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

Semantics

A LiteralInteger specifies a constant Integer value.

Notation

A LiteralInteger is typically shown as a sequence of digits.