Previous | UML Classes | Table of Contents | UML Packages | Next |
A literal string is a specification of a string value.
•
LiteralSpecification (from Kernel ) on page 93.
A literal string contains a String-valued attribute.
Issue 9191 -add multiplicity with lower bound at 0
• value: String [0..1] The specified String value
No additional associations
No additional constraints
[1] The query isComputable() is redefined to be true.
LiteralString ::isComputable(): Boolean;
isComputable = true
[2] The query stringValue() gives the value.
LiteralString ::stringValue() : [String];
stringValue = value
A LiteralString specifies a constant String value.
A LiteralString is shown as a sequence of characters within double quotes. The character set used is unspecified.