Table of Contents

Interface IPackageImport

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

The public interface for PackageImport

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

Properties

ImportedPackage

Specifies the Package whose members are imported into a Namespace. <p>From package UML::CommonStructure.</p>

[XmlElementName("importedPackage")]
[XmlAttribute(true)]
IPackage ImportedPackage { get; set; }

Property Value

IPackage

ImportingNamespace

Specifies the Namespace that imports the members from a Package. <p>From package UML::CommonStructure.</p>

[Browsable(false)]
[XmlElementName("importingNamespace")]
[XmlAttribute(true)]
[XmlOpposite("packageImport")]
INamespace ImportingNamespace { get; set; }

Property Value

INamespace

Visibility

Specifies the visibility of the imported PackageableElements within the importingNamespace, i.e., whether imported Elements will in turn be visible to other Namespaces. If the PackageImport is public, the imported Elements will be visible outside the importingNamespace, while, if the PackageImport is private, they will not. <p>From package UML::CommonStructure.</p>

[XmlElementName("visibility")]
[XmlAttribute(true)]
VisibilityKind Visibility { get; set; }

Property Value

VisibilityKind

Methods

Public_or_private(object, object)

The visibility of a PackageImport is either public or private. visibility = VisibilityKind::public or visibility = VisibilityKind::private

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