Interface IInteractionConstraint
The public interface for InteractionConstraint
[DefaultImplementationType(typeof(InteractionConstraint))]
[XmlDefaultImplementationType(typeof(InteractionConstraint))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//InteractionConstraint")]
public interface IInteractionConstraint : IConstraint, IPackageableElement, IParameterableElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
Properties
Maxint
The maximum number of iterations of a loop <p>From package UML::Interactions.</p>
[Browsable(false)]
[XmlElementName("maxint")]
[XmlAttribute(false)]
[Containment]
IValueSpecification Maxint { get; set; }
Property Value
Minint
The minimum number of iterations of a loop <p>From package UML::Interactions.</p>
[Browsable(false)]
[XmlElementName("minint")]
[XmlAttribute(false)]
[Containment]
IValueSpecification Minint { get; set; }
Property Value
Methods
Dynamic_variables(object, object)
The dynamic variables that take part in the constraint must be owned by the ConnectableElement corresponding to the covered Lifeline.
bool Dynamic_variables(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
Global_data(object, object)
The constraint may contain references to global data or write-once data.
bool Global_data(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
Maxint_greater_equal_minint(object, object)
If maxint is specified, then minint must be specified and the evaluation of maxint must be >= the evaluation of minint. maxint->notEmpty() implies (minint->notEmpty() and maxint->asSequence()->first().integerValue() >= minint->asSequence()->first().integerValue() )
bool Maxint_greater_equal_minint(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
Maxint_positive(object, object)
If maxint is specified, then the expression must evaluate to a positive integer. maxint->notEmpty() implies maxint->asSequence()->first().integerValue() > 0
bool Maxint_positive(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
Minint_maxint(object, object)
Minint/maxint can only be present if the InteractionConstraint is associated with the operand of a loop CombinedFragment. maxint->notEmpty() or minint->notEmpty() implies interactionOperand.combinedFragment.interactionOperator = InteractionOperatorKind::loop
bool Minint_maxint(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
Minint_non_negative(object, object)
If minint is specified, then the expression must evaluate to a non-negative integer. minint->notEmpty() implies minint->asSequence()->first().integerValue() >= 0
bool Minint_non_negative(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.