public interface ElementImport extends DirectedRelationship
An ElementImport identifies a NamedElement in a Namespace other than the one that owns that NamedElement and allows the NamedElement to be referenced using an unqualified name in the Namespace owning the ElementImport.
The following features are supported:
UMLPackage.getElementImport()
Modifier and Type | Method and Description |
---|---|
Profile |
get_profileOfMetaclassReference()
Returns the value of the 'profile Of Metaclass Reference' reference.
|
java.lang.String |
getAlias()
Returns the value of the 'Alias' attribute.
|
PackageableElement |
getImportedElement()
Returns the value of the 'Imported Element' reference.
|
Namespace |
getImportingNamespace()
Returns the value of the 'Importing Namespace' container reference.
|
VisibilityKind |
getVisibility()
Returns the value of the 'Visibility' attribute.
|
void |
set_profileOfMetaclassReference(Profile value)
Sets the value of the
'
profile Of Metaclass Reference ' reference. |
void |
setAlias(java.lang.String value)
Sets the value of the '
Alias ' attribute. |
void |
setImportedElement(PackageableElement value)
Sets the value of the '
Imported Element ' 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, hasTarget
get_abstraction, getRelatedElement, has_abstraction, hasRelatedElement
get_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, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
@CheckForNull VisibilityKind getVisibility()
"public"
.
The literals are from the enumeration VisibilityKind
.
Specifies the visibility of the imported PackageableElement within the importingNamespace, i.e., whether the importedElement will in turn be visible to other
Namespaces. If the ElementImport is public, the importedElement will be visible outside the importingNamespace while, if the ElementImport is private, it will
not.
VisibilityKind
,
setVisibility(VisibilityKind)
,
UMLPackage.getElementImport_Visibility()
void setVisibility(@CheckForNull VisibilityKind value)
Visibility
' attribute.
value
- the new value of the 'Visibility' attribute.VisibilityKind
,
getVisibility()
@CheckForNull java.lang.String getAlias()
""
.
Specifies the name that should be added to the importing Namespace in lieu of the name of the imported PackagableElement. The alias must not clash with any other
member in the importing Namespace. By default, no alias is used.
setAlias(String)
,
UMLPackage.getElementImport_Alias()
void setAlias(@CheckForNull java.lang.String value)
Alias
' attribute.
value
- the new value of the 'Alias' attribute.getAlias()
@CheckForNull PackageableElement getImportedElement()
element Import Of Imported Element
'.
Specifies the PackageableElement whose name is to be added to a Namespace.
setImportedElement(PackageableElement)
,
UMLPackage.getElementImport_ImportedElement()
,
PackageableElement.get_elementImportOfImportedElement()
void setImportedElement(@CheckForNull PackageableElement value)
Imported Element
' reference.
value
- the new value of the 'Imported Element' reference.getImportedElement()
@CheckForNull Profile get_profileOfMetaclassReference()
Metaclass Reference
'.
If the meaning of the 'profile Of Metaclass Reference' reference isn't clear, there really should be more of a description here...
set_profileOfMetaclassReference(Profile)
,
UMLPackage.getElementImport__profileOfMetaclassReference()
,
Profile.getMetaclassReference()
void set_profileOfMetaclassReference(@CheckForNull Profile value)
profile Of Metaclass Reference
' reference.
value
- the new value of the 'profile Of Metaclass Reference' reference.get_profileOfMetaclassReference()
@CheckForNull Namespace getImportingNamespace()
Element Import
'.
Specifies the Namespace that imports a PackageableElement from another Namespace.
setImportingNamespace(Namespace)
,
UMLPackage.getElementImport_ImportingNamespace()
,
Namespace.getElementImport()
void setImportingNamespace(@CheckForNull Namespace value)
Importing Namespace
' container
reference.
value
- the new value of the 'Importing Namespace' container reference.getImportingNamespace()