Interface IStringExpression
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
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
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.