Software Disclaimer

Class UML 2.4.1::LiteralString

Description:

A literal string is a specification of a string value.

Direct Superclasses: LiteralSpecification

Direct Subclasses:

Class Precedence List: LiteralString, LiteralSpecification, ValueSpecification, TypedElement, PackageableElement, ParameterableElement, NamedElement, Element

Properties:

value : String (0 1); -- source LiteralString
type : Type (0 1); -- source TypedElement
visibility : VisibilityKind (1 1); -- source PackageableElement
owningTemplateParameter : TemplateParameter (0 1); -- source ParameterableElement
templateParameter : TemplateParameter (0 1); -- source ParameterableElement
clientDependency : Dependency (0 *); -- source NamedElement
name : String (0 1); -- source NamedElement
nameExpression : StringExpression (0 1); -- source NamedElement
namespace : Namespace (0 1); -- source NamedElement
qualifiedName : String (0 1); -- source NamedElement
ownedComment : Comment (0 *); -- source Element

The Comments owned by this element.
{composite}
Subsets: Element.ownedElement

ownedElement : Element (0 *); -- source Element
owner : Element (0 1); -- source Element

Constraints:

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].