Table of Contents

Interface IStringExpression

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for StringExpression

[DefaultImplementationType(typeof(StringExpression))]
[XmlDefaultImplementationType(typeof(StringExpression))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//StringExpression")]
public interface IStringExpression : ITemplateableElement, IExpression, IValueSpecification, ITypedElement, IPackageableElement, IParameterableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

OwningExpression

The StringExpression of which this StringExpression is a subExpression. <p>From package UML::Values.</p>

[Browsable(false)]
[XmlElementName("owningExpression")]
[XmlAttribute(true)]
[XmlOpposite("subExpression")]
IStringExpression OwningExpression { get; set; }

Property Value

IStringExpression

SubExpression

The StringExpressions that constitute this StringExpression. <p>From package UML::Values.</p>

[Browsable(false)]
[XmlElementName("subExpression")]
[XmlAttribute(false)]
[Containment]
[XmlOpposite("owningExpression")]
IOrderedSetExpression<IStringExpression> SubExpression { get; }

Property Value

IOrderedSetExpression<IStringExpression>

Methods

Operands(object, object)

All the operands of a StringExpression must be LiteralStrings operand->forAll (oclIsKindOf (LiteralString))

bool Operands(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool

Subexpressions(object, object)

If a StringExpression has sub-expressions, it cannot have operands and vice versa (this avoids the problem of having to define a collating sequence between operands and subexpressions). if subExpression->notEmpty() then operand->isEmpty() else operand->notEmpty() endif

bool Subexpressions(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool