Class UML 2.5::LiteralString
Description:
A LiteralString is a specification of a String value.
Direct Superclasses: LiteralSpecificationDirect Subclasses: Class Precedence List: LiteralString,
LiteralSpecification,
ValueSpecification,
TypedElement,
PackageableElement,
ParameterableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png)
value : String (0 1); -- source
LiteralString![](/se-interop/image/down-arrow.png)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/right-arrow.png)
visibility :
VisibilityKind (0 1); -- source
PackageableElementA PackageableElement must have a visibility specified if it is owned by
a Namespace. The default visibility is public.
Redefines: NamedElement.visibility
Default value: PUBLIC
![](/se-interop/image/down-arrow.png)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/right-arrow.png)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElementThe TemplateParameter that exposes this ParameterableElement as a formal
parameter.
Opposite: TemplateParameter.parameteredElement
![](/se-interop/image/down-arrow.png)
clientDependency :
Dependency (0 *); -- source
NamedElement![](/se-interop/image/down-arrow.png)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: stringValue() : String;
Description: The query stringValue() gives the value.
Expression: result = (value)
Signature: isComputable() : Boolean;
Description: The query isComputable() is redefined to be true.
Expression: result = (true)
Send questions or comments to
[email protected].