Class UML 2.5::StringExpression
Description:
A StringExpression is an Expression that specifies a String value that
is derived by concatenating a sequence of operands with String values or
a sequence of subExpressions, some of which might be template parameters.
Direct Superclasses: TemplateableElement,
ExpressionDirect Subclasses: Class Precedence List: StringExpression,
TemplateableElement,
Expression,
ValueSpecification,
TypedElement,
PackageableElement,
ParameterableElement,
NamedElement,
ElementProperties:
![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
owningExpression :
StringExpression (0 1); -- source
StringExpression![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
subExpression :
StringExpression (0 *); -- source
StringExpression![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
ownedTemplateSignature :
TemplateSignature (0 1); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
operand :
ValueSpecification (0 *); -- source
Expression![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
symbol : String (0 1); -- source
Expression![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/right-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
clientDependency :
Dependency (0 *); -- source
NamedElementIndicates the Dependencies that reference this NamedElement as a client.
{
derived}
Opposite: Dependency.client
![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/right-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
qualifiedName : String (0 1); -- source
NamedElementA name that allows the NamedElement to be identified within a hierarchy
of nested Namespaces. It is constructed from the names of the containing
Namespaces starting at the root of the hierarchy and ending with the name
of the NamedElement itself.
{
readonly,
derived}
![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=33570%3A157F013AF338154FB7D80FC344D45D0D)
owner :
Element (0 1); -- source
ElementConstraints:
No additional constraints.
Operations:
Signature: stringValue() : String;
Description: The query stringValue() returns the String resulting from concatenating,
in order, all the component String values of all the operands or subExpressions
that are part of the StringExpression.
Expression: result = (if subExpression->notEmpty() then subExpression->iterate(se; stringValue: String = '' | stringValue.concat(se.stringValue())) else operand->iterate(op; stringValue: String = '' | stringValue.concat(op.stringValue())) endif)
Send questions or comments to
[email protected].