Interface IPackageImport
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
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
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
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.