Table of Contents

Interface ITemplateParameterSubstitution

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

The public interface for TemplateParameterSubstitution

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

Properties

Actual

The ParameterableElement that is the actual parameter for this TemplateParameterSubstitution. <p>From package UML::CommonStructure.</p>

[XmlElementName("actual")]
[XmlAttribute(true)]
IParameterableElement Actual { get; set; }

Property Value

IParameterableElement

Formal

The formal TemplateParameter that is associated with this TemplateParameterSubstitution. <p>From package UML::CommonStructure.</p>

[XmlElementName("formal")]
[XmlAttribute(true)]
ITemplateParameter Formal { get; set; }

Property Value

ITemplateParameter

OwnedActual

The ParameterableElement that is owned by this TemplateParameterSubstitution as its actual parameter. <p>From package UML::CommonStructure.</p>

[XmlElementName("ownedActual")]
[XmlAttribute(true)]
IParameterableElement OwnedActual { get; set; }

Property Value

IParameterableElement

TemplateBinding

The TemplateBinding that owns this TemplateParameterSubstitution. <p>From package UML::CommonStructure.</p>

[Browsable(false)]
[XmlElementName("templateBinding")]
[XmlAttribute(true)]
[XmlOpposite("parameterSubstitution")]
ITemplateBinding TemplateBinding { get; set; }

Property Value

ITemplateBinding

Methods

Must_be_compatible(object, object)

The actual ParameterableElement must be compatible with the formal TemplateParameter, e.g., the actual ParameterableElement for a Class TemplateParameter must be a Class. actual->forAll(a | a.isCompatibleWith(formal.parameteredElement))

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