public interface PackageImport extends DirectedRelationship
The following features are supported:
UMLPackage.getPackageImport()
Modifier and Type | Method and Description |
---|---|
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 |
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 |
boolean |
validatePublicOrPrivate(DiagnosticChain diagnostics,
Map context)
The visibility of a PackageImport is either public or private.
|
getSources, getTargets
getRelatedElements
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
VisibilityKind getVisibility()
"public"
.
The literals are from the enumeration VisibilityKind
.
Specifies the visibility of the imported PackageableElements within the importing Namespace, i.e., whether imported elements will in turn be
visible to other packages that use that importingPackage as an importedPackage. If the PackageImport is public, the imported elements will be
visible outside the package, while if it is private they will not.
VisibilityKind
,
setVisibility(VisibilityKind)
,
UMLPackage.getPackageImport_Visibility()
void setVisibility(VisibilityKind value)
Visibility
' attribute.
value
- the new value of the 'Visibility' attribute.VisibilityKind
,
getVisibility()
Package getImportedPackage()
setImportedPackage(com.sodius.mdw.metamodel.uml21.Package)
,
UMLPackage.getPackageImport_ImportedPackage()
void setImportedPackage(Package value)
Imported Package
' reference.
value
- the new value of the 'Imported Package' reference.getImportedPackage()
Namespace getImportingNamespace()
Package Import
'.
Specifies the Namespace that imports the members from a Package.
setImportingNamespace(Namespace)
,
UMLPackage.getPackageImport_ImportingNamespace()
,
Namespace.getPackageImports()
void setImportingNamespace(Namespace value)
Importing Namespace
' container
reference.
value
- the new value of the 'Importing Namespace' container reference.getImportingNamespace()
boolean validatePublicOrPrivate(DiagnosticChain diagnostics, Map context)