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=131199%3AF17141CF340F06D7A67AD0E2583D0085)
owningExpression :
StringExpression (0 1); -- source
StringExpression![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
subExpression :
StringExpression (0 *); -- source
StringExpression![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
ownedTemplateSignature :
TemplateSignature (0 1); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
templateBinding :
TemplateBinding (0 *); -- source
TemplateableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
operand :
ValueSpecification (0 *); -- source
Expression![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
symbol : String (0 1); -- source
Expression![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
type :
Type (0 1); -- source
TypedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
visibility :
VisibilityKind (0 1); -- source
PackageableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
owningTemplateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
templateParameter :
TemplateParameter (0 1); -- source
ParameterableElement![](/se-interop/image/right-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
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=131199%3AF17141CF340F06D7A67AD0E2583D0085)
name : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
nameExpression :
StringExpression (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
namespace :
Namespace (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
qualifiedName : String (0 1); -- source
NamedElement![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
ownedComment :
Comment (0 *); -- source
Element![](/se-interop/image/down-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
ownedElement :
Element (0 *); -- source
Element![](/se-interop/image/right-arrow.png?hunchentoot-session=131199%3AF17141CF340F06D7A67AD0E2583D0085)
owner :
Element (0 1); -- source
ElementThe Element that owns this Element.
{
readonly}
Derived union with sources: (namespace, owningTemplateParameter, owningExpression)
Opposite: Element.ownedElement
Constraints:
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].