Interface PackageImport
-
- All Superinterfaces:
BaseElement
,java.lang.Cloneable
,java.lang.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
public interface PackageImport extends DirectedRelationship
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:
UMLPackage.getPackageImport()
- Model:
- annotation="MOF package='classes.mdkernel'"
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
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 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 Detail
-
getImportedPackage
@CheckForNull Package 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:
setImportedPackage(Package)
,UMLPackage.getPackageImport_ImportedPackage()
,Package.get_packageImportOfImportedPackage()
- Model:
- opposite="_packageImportOfImportedPackage" required="true" ordered="false"
- Generated:
-
setImportedPackage
void setImportedPackage(@CheckForNull Package value)
Sets the value of the 'Imported Package
' reference.- Parameters:
value
- the new value of the 'Imported Package' reference.- See Also:
getImportedPackage()
- Generated:
-
get_profileOfMetamodelReference
@CheckForNull Profile 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:
set_profileOfMetamodelReference(Profile)
,UMLPackage.getPackageImport__profileOfMetamodelReference()
,Profile.getMetamodelReference()
- Model:
- opposite="metamodelReference" ordered="false"
- Generated:
-
set_profileOfMetamodelReference
void set_profileOfMetamodelReference(@CheckForNull Profile value)
Sets the value of the 'profile Of Metamodel Reference
' reference.- Parameters:
value
- the new value of the 'profile Of Metamodel Reference' reference.- See Also:
get_profileOfMetamodelReference()
- Generated:
-
getImportingNamespace
@CheckForNull Namespace 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:
setImportingNamespace(Namespace)
,UMLPackage.getPackageImport_ImportingNamespace()
,Namespace.getPackageImport()
- Model:
- opposite="packageImport" required="true" transient="false" ordered="false"
- Generated:
-
setImportingNamespace
void setImportingNamespace(@CheckForNull Namespace value)
Sets the value of the 'Importing Namespace
' container reference.- Parameters:
value
- the new value of the 'Importing Namespace' container reference.- See Also:
getImportingNamespace()
- Generated:
-
getVisibility
@CheckForNull VisibilityKind 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:
VisibilityKind
,setVisibility(VisibilityKind)
,UMLPackage.getPackageImport_Visibility()
- Model:
- default="public" required="true" ordered="false"
- Generated:
-
setVisibility
void setVisibility(@CheckForNull VisibilityKind value)
Sets the value of the 'Visibility
' attribute.- Parameters:
value
- the new value of the 'Visibility' attribute.- See Also:
VisibilityKind
,getVisibility()
- Generated:
-
-