Table of Contents

Interface IProfileApplication

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

The public interface for ProfileApplication

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

Properties

AppliedProfile

References the Profiles that are applied to a Package through this ProfileApplication. <p>From package UML::Packages.</p>

[XmlElementName("appliedProfile")]
[XmlAttribute(true)]
IProfile AppliedProfile { get; set; }

Property Value

IProfile

ApplyingPackage

The package that owns the profile application. <p>From package UML::Packages.</p>

[Browsable(false)]
[XmlElementName("applyingPackage")]
[XmlAttribute(true)]
[XmlOpposite("profileApplication")]
IPackage ApplyingPackage { get; set; }

Property Value

IPackage

IsStrict

Specifies that the Profile filtering rules for the metaclasses of the referenced metamodel shall be strictly applied. <p>From package UML::Packages.</p>

[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isStrict")]
[XmlAttribute(true)]
bool IsStrict { get; set; }

Property Value

bool

Methods

GetAppliedDefinition()

Retrieves the definition (Ecore representation) of the profile associated with this profile application.

IEPackage GetAppliedDefinition()

Returns

IEPackage

GetAppliedDefinition(INamedElement)

Retrieves the definition (Ecore representation) of the specified named element in the profile associated with this profile application.

IENamedElement GetAppliedDefinition(INamedElement namedElement)

Parameters

namedElement INamedElement

The named element for which to retrieve the applied definition.

Returns

IENamedElement