Interface PackageImport
- All Superinterfaces:
BaseElement
,Cloneable
,Comparable
,DirectedRelationship
,Element
,org.eclipse.emf.ecore.EObject
,MDObject
,com.dassault_systemes.modeler.foundation.model.ModelElement
,ModelObject
,org.eclipse.emf.common.notify.Notifier
,javax.jmi.reflect.RefBaseObject
,javax.jmi.reflect.RefFeatured
,javax.jmi.reflect.RefObject
,Relationship
A representation of the model object 'Package Import'.
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:
- See Also:
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'profile Of Metamodel Reference' reference.Returns the value of the 'Imported Package' reference.Returns the value of the 'Importing Namespace' container reference.Returns the value of the 'Visibility' attribute.void
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.Methods inherited from interface com.nomagic.magicdraw.uml.BaseElement
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, isEditable, removePropertyChangeListener, sGetID
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.DirectedRelationship
getSource, getTarget, hasSource, hasTarget
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementTaggedValue, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotype, getOwnedComment, getOwnedElement, getOwner, getSyncElement, getTaggedValue, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasAppliedStereotype, hasElementTaggedValue, hasOwnedComment, hasOwnedElement, hasTaggedValue, setOwner, setSyncElement
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface com.nomagic.magicdraw.foundation.MDObject
getID, getMDExtension, getMdExtensions, setID
Methods inherited from interface com.dassault_systemes.modeler.foundation.model.ModelElement
canChangeElementOwner, eDynamicGet, getElementOwner, getLocalID, getObjectParent, setLocalID, sGetLocalID
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.base.ModelObject
get_representationText, ignoringRefGetValue, ignoringRefGetValue, isSet, refGetValue, refGetValue, refSetValue, refSetValue, set_representationText
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refInvokeOperation, refInvokeOperation, refSetValue
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
Methods inherited from interface com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Relationship
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
-
Method Details
-
getImportedPackage
Returns the value of the 'Imported Package' reference. It is bidirectional and its opposite is 'package Import Of Imported Package
'. Specifies the Package whose members are imported into a Namespace.- Returns:
- the value of the 'Imported Package' reference.
- See Also:
- Model:
- opposite="_packageImportOfImportedPackage" required="true" ordered="false"
- Generated:
-
setImportedPackage
Sets the value of the 'Imported Package
' reference.- Parameters:
value
- the new value of the 'Imported Package' reference.- See Also:
- Generated:
-
get_profileOfMetamodelReference
Returns the value of the 'profile Of Metamodel Reference' reference. It is bidirectional and its opposite is 'Metamodel Reference
'.If the meaning of the 'profile Of Metamodel Reference' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'profile Of Metamodel Reference' reference.
- See Also:
- Model:
- opposite="metamodelReference" ordered="false"
- Generated:
-
set_profileOfMetamodelReference
Sets the value of the 'profile Of Metamodel Reference
' reference.- Parameters:
value
- the new value of the 'profile Of Metamodel Reference' reference.- See Also:
- Generated:
-
getImportingNamespace
Returns the value of the 'Importing Namespace' container reference. It is bidirectional and its opposite is 'Package Import
'. Specifies the Namespace that imports the members from a Package.- Returns:
- the value of the 'Importing Namespace' container reference.
- See Also:
- Model:
- opposite="packageImport" required="true" transient="false" ordered="false"
- Generated:
-
setImportingNamespace
Sets the value of the 'Importing Namespace
' container reference.- Parameters:
value
- the new value of the 'Importing Namespace' container reference.- See Also:
- Generated:
-
getVisibility
Returns the value of the 'Visibility' attribute. The default value is"public"
. The literals are from the enumerationVisibilityKind
. 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.- Returns:
- the value of the 'Visibility' attribute.
- See Also:
- Model:
- default="public" required="true" ordered="false"
- Generated:
-
setVisibility
Sets the value of the 'Visibility
' attribute.- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
- Generated:
-