A literal integer is a specification of an integer value.
Description
A literal integer contains an Integer-valued attribute.
Attributes
• value: Integer         The specified Integer value.
Associations
No additional associations.
Constraints
No additional constraints.
Additional Operation
The query isComputable() is redefined to be true.
LiteralBoolean::isComputable(): Boolean; isComputable = true
The query integerValue() gives the value.
LiteralInteger::integerValue() : [Integer]; integerValue = value
Semantics
A LiteralBoolean specifies a constant Boolean value.
Notation
A LiteralBoolean is shown as either the word ‘true’ or the word ‘false’, corresponding to its value.