Table of Contents

Interface ITemplateParameter

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

The public interface for TemplateParameter

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

Properties

Default

The ParameterableElement that is the default for this formal TemplateParameter. <p>From package UML::CommonStructure.</p>

[XmlElementName("default")]
[XmlAttribute(true)]
IParameterableElement Default { get; set; }

Property Value

IParameterableElement

OwnedDefault

The ParameterableElement that is owned by this TemplateParameter for the purpose of providing a default. <p>From package UML::CommonStructure.</p>

[XmlElementName("ownedDefault")]
[XmlAttribute(true)]
IParameterableElement OwnedDefault { get; set; }

Property Value

IParameterableElement

OwnedParameteredElement

The ParameterableElement that is owned by this TemplateParameter for the purpose of exposing it as the parameteredElement. <p>From package UML::CommonStructure.</p>

[XmlElementName("ownedParameteredElement")]
[XmlAttribute(true)]
[XmlOpposite("owningTemplateParameter")]
IParameterableElement OwnedParameteredElement { get; set; }

Property Value

IParameterableElement

ParameteredElement

The ParameterableElement exposed by this TemplateParameter. <p>From package UML::CommonStructure.</p>

[XmlElementName("parameteredElement")]
[XmlAttribute(true)]
[XmlOpposite("templateParameter")]
IParameterableElement ParameteredElement { get; set; }

Property Value

IParameterableElement

Signature

The TemplateSignature that owns this TemplateParameter. <p>From package UML::CommonStructure.</p>

[XmlElementName("signature")]
[XmlAttribute(true)]
[XmlOpposite("ownedParameter")]
ITemplateSignature Signature { get; set; }

Property Value

ITemplateSignature

Methods

Must_be_compatible(object, object)

The default must be compatible with the formal TemplateParameter. default <> null implies default.isCompatibleWith(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