public interface PackageImport extends DirectedRelationship
A PackageImport is a Relationship that imports all the non-private members of a Package into the Namespace owning the PackageImport, so that those Elements may be referred to by their unqualified names in the importingNamespace.
The following features are supported:
UMLPackage.getPackageImport()| Modifier and Type | Method and Description | 
|---|---|
Profile | 
get_profileOfMetamodelReference()
Returns the value of the 'profile Of Metamodel Reference' reference. 
 | 
Package | 
getImportedPackage()
Returns the value of the 'Imported Package' reference. 
 | 
Namespace | 
getImportingNamespace()
Returns the value of the 'Importing Namespace' container reference. 
 | 
VisibilityKind | 
getVisibility()
Returns the value of the 'Visibility' attribute. 
 | 
void | 
set_profileOfMetamodelReference(Profile value)
Sets the value of the
 ' 
profile Of Metamodel Reference' reference. | 
void | 
setImportedPackage(Package value)
Sets the value of the ' 
Imported Package' reference. | 
void | 
setImportingNamespace(Namespace value)
Sets the value of the ' 
Importing Namespace' container
 reference. | 
void | 
setVisibility(VisibilityKind value)
Sets the value of the ' 
Visibility' attribute. | 
getSource, getTarget, hasSource, hasTargetget_abstraction, getRelatedElement, has_abstraction, hasRelatedElementget_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElementget_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalIDgetID, getMDExtension, getMdExtensions, setIDeAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteAdapters, eDeliver, eNotify, eSetDeliveraccept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetIDrefClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite@CheckForNull Package getImportedPackage()
package Import Of Imported Package'.
 
 
 
 Specifies the Package whose members are imported into a Namespace.
 setImportedPackage(Package), 
UMLPackage.getPackageImport_ImportedPackage(), 
Package.get_packageImportOfImportedPackage()void setImportedPackage(@CheckForNull
                        Package value)
Imported Package' reference.
 
 value - the new value of the 'Imported Package' reference.getImportedPackage()@CheckForNull Profile get_profileOfMetamodelReference()
Metamodel Reference'.
 
 If the meaning of the 'profile Of Metamodel Reference' reference isn't clear, there really should be more of a description here...
set_profileOfMetamodelReference(Profile), 
UMLPackage.getPackageImport__profileOfMetamodelReference(), 
Profile.getMetamodelReference()void set_profileOfMetamodelReference(@CheckForNull
                                     Profile value)
profile Of Metamodel Reference' reference.
 
 value - the new value of the 'profile Of Metamodel Reference' reference.get_profileOfMetamodelReference()@CheckForNull Namespace getImportingNamespace()
Package Import'.
 
 
 
 Specifies the Namespace that imports the members from a Package.
 setImportingNamespace(Namespace), 
UMLPackage.getPackageImport_ImportingNamespace(), 
Namespace.getPackageImport()void setImportingNamespace(@CheckForNull
                           Namespace value)
Importing Namespace' container
 reference.
 
 value - the new value of the 'Importing Namespace' container reference.getImportingNamespace()@CheckForNull VisibilityKind getVisibility()
"public".
 The literals are from the enumeration VisibilityKind.
 
 
 
 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.
 VisibilityKind, 
setVisibility(VisibilityKind), 
UMLPackage.getPackageImport_Visibility()void setVisibility(@CheckForNull
                   VisibilityKind value)
Visibility' attribute.
 
 value - the new value of the 'Visibility' attribute.VisibilityKind, 
getVisibility()