Table of Contents

Interface IParameterSet

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

The public interface for ParameterSet

[DefaultImplementationType(typeof(ParameterSet))]
[XmlDefaultImplementationType(typeof(ParameterSet))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//ParameterSet")]
public interface IParameterSet : INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Condition

A constraint that should be satisfied for the owner of the Parameters in an input ParameterSet to start execution using the values provided for those Parameters, or the owner of the Parameters in an output ParameterSet to end execution providing the values for those Parameters, if all preconditions and conditions on input ParameterSets were satisfied. <p>From package UML::Classification.</p>

[Browsable(false)]
[XmlElementName("condition")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IConstraint> Condition { get; }

Property Value

IOrderedSetExpression<IConstraint>

Parameter

Parameters in the ParameterSet. <p>From package UML::Classification.</p>

[LowerBound(1)]
[XmlElementName("parameter")]
[XmlAttribute(true)]
[XmlOpposite("parameterSet")]
ISetExpression<IParameter> Parameter { get; }

Property Value

ISetExpression<IParameter>

Methods

Input(object, object)

If a parameterized entity has input Parameters that are in a ParameterSet, then any inputs that are not in a ParameterSet must be streaming. Same for output Parameters. ((parameter->exists(direction = ParameterDirectionKind::'in')) implies behavioralFeature.ownedParameter->select(p | p.direction = ParameterDirectionKind::'in' and p.parameterSet->isEmpty())->forAll(isStream)) and ((parameter->exists(direction = ParameterDirectionKind::out)) implies behavioralFeature.ownedParameter->select(p | p.direction = ParameterDirectionKind::out and p.parameterSet->isEmpty())->forAll(isStream))

bool Input(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

Same_parameterized_entity(object, object)

The Parameters in a ParameterSet must all be inputs or all be outputs of the same parameterized entity, and the ParameterSet is owned by that entity. parameter->forAll(p1, p2 | self.owner = p1.owner and self.owner = p2.owner and p1.direction = p2.direction)

bool Same_parameterized_entity(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

Two_parameter_sets(object, object)

Two ParameterSets cannot have exactly the same set of Parameters. parameter->forAll(parameterSet->forAll(s1, s2 | s1->size() = s2->size() implies s1.parameter->exists(p | not s2.parameter->includes(p))))

bool Two_parameter_sets(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