## Uses of Interface
org.eclipse.uml2.uml.Package

Packages that use Package
org.eclipse.uml2.uml
org.eclipse.uml2.uml.editor.actions
org.eclipse.uml2.uml.util

Uses of Package in org.eclipse.uml2.uml

Subinterfaces of Package in org.eclipse.uml2.uml
`interface` `Model` A representation of the model object 'Model'
`interface` `Profile` A representation of the model object 'Profile'

Methods in org.eclipse.uml2.uml that return Package
`Package` `Package.createNestedPackage(java.lang.String name)` Creates a new `Package`, with the specified 'Name', and appends it to the 'Nested Package' reference list
`Package` `Package.createNestedPackage(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)` Creates a new `Package`, with the specified 'Name', and appends it to the 'Nested Package' reference list
`Package` `UMLFactory.createPackage()` Returns a new object of class 'Package'
`Package` `ProfileApplication.getApplyingPackage()` Returns the value of the 'Applying Package' container reference.
`Package` `PackageImport.getImportedPackage()` Returns the value of the 'Imported Package' reference.
`Package` `PackageMerge.getMergedPackage()` Returns the value of the 'Merged Package' reference.
`Package` `Element.getNearestPackage()` Retrieves the nearest package that owns (either directly or indirectly) this element, or the element itself (if it is a package)
`Package` `Package.getNestedPackage(java.lang.String name)` Retrieves the first `Package` with the specified 'Name' from the 'Nested Package' reference list
`Package` `Package.getNestedPackage(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)` Retrieves the first `Package` with the specified 'Name' from the 'Nested Package' reference list
`Package` `Package.getNestingPackage()` Returns the value of the 'Nesting Package' reference.
`Package` `Type.getPackage()` Returns the value of the 'Package' reference.
`Package` `PackageMerge.getReceivingPackage()` Returns the value of the 'Receiving Package' container reference.

Methods in org.eclipse.uml2.uml that return types with arguments of type Package
`org.eclipse.emf.common.util.EList<Package>` `NamedElement.allOwningPackages()` The query allOwningPackages() returns all the directly or indirectly owning packages.
`org.eclipse.emf.common.util.EList<Package>` `Namespace.getImportedPackages()` Retrieves the packages imported by this namespace
`org.eclipse.emf.common.util.EList<Package>` `Package.getNestedPackages()` Returns the value of the 'Nested Package' reference list.

Methods in org.eclipse.uml2.uml with parameters of type Package
`PackageImport` `Profile.createMetamodelReference(Package importedPackage)` Creates a new `PackageImport`, with the specified 'Imported Package', and appends it to the 'Metamodel Reference' reference list
`PackageImport` `Namespace.createPackageImport(Package importedPackage)` Creates a new `PackageImport`, with the specified 'Imported Package', and appends it to the 'Package Import' containment reference list
`PackageImport` `Namespace.createPackageImport(Package package_, VisibilityKind visibility)` Creates an import of the specified package into this namespace with the specified visibility.
`PackageMerge` `Package.createPackageMerge(Package mergedPackage)` Creates a new `PackageMerge`, with the specified 'Merged Package', and appends it to the 'Package Merge' containment reference list
`PackageImport` `Profile.getMetamodelReference(Package importedPackage)` Retrieves the first `PackageImport` with the specified 'Imported Package' from the 'Metamodel Reference' reference list
`PackageImport` `Profile.getMetamodelReference(Package importedPackage, boolean createOnDemand)` Retrieves the first `PackageImport` with the specified 'Imported Package' from the 'Metamodel Reference' reference list
`PackageImport` `Namespace.getPackageImport(Package importedPackage)` Retrieves the first `PackageImport` with the specified 'Imported Package' from the 'Package Import' containment reference list
`PackageImport` `Namespace.getPackageImport(Package importedPackage, boolean createOnDemand)` Retrieves the first `PackageImport` with the specified 'Imported Package' from the 'Package Import' containment reference list
`PackageMerge` `Package.getPackageMerge(Package mergedPackage)` Retrieves the first `PackageMerge` with the specified 'Merged Package' from the 'Package Merge' containment reference list
`PackageMerge` `Package.getPackageMerge(Package mergedPackage, boolean createOnDemand)` Retrieves the first `PackageMerge` with the specified 'Merged Package' from the 'Package Merge' containment reference list
`void` `ProfileApplication.setApplyingPackage(Package value)` Sets the value of the '`Applying Package`' container reference
`void` `PackageImport.setImportedPackage(Package value)` Sets the value of the '`Imported Package`' reference
`void` `PackageMerge.setMergedPackage(Package value)` Sets the value of the '`Merged Package`' reference
`void` `Package.setNestingPackage(Package value)` Sets the value of the '`Nesting Package`' reference
`void` `Type.setPackage(Package value)` Sets the value of the '`Package`' reference
`void` `PackageMerge.setReceivingPackage(Package value)` Sets the value of the '`Receiving Package`' container reference

Uses of Package in org.eclipse.uml2.uml.editor.actions

Methods in org.eclipse.uml2.uml.editor.actions with parameters of type Package
`protected java.util.List<Type>` `ImportTypeAction.getChoiceOfValues(Package package_)`
`protected java.util.List<Type>` `ImportPrimitiveTypeAction.getChoiceOfValues(Package package_)`

Uses of Package in org.eclipse.uml2.uml.util

Fields in org.eclipse.uml2.uml.util declared as Package
`protected Package` `UMLUtil.PackageMerger.receivingPackage`

Fields in org.eclipse.uml2.uml.util with type parameters of type Package
`protected java.util.Collection<Package>` `UMLUtil.PackageMerger.mergedPackages`
`protected java.util.Collection<Package>` `UMLUtil.UML2EcoreConverter.packages`

Methods in org.eclipse.uml2.uml.util that return types with arguments of type Package
`static java.util.Collection<Package>` `UMLUtil.convertFromEcore(org.eclipse.emf.ecore.EPackage ePackage, java.util.Map<java.lang.String,java.lang.String> options)` Converts the specified Ecore package (and its contents) to UML using the specified options.

`static java.util.Collection<Package>`

`UMLUtil.convertFromEcore(org.eclipse.emf.ecore.EPackage ePackage, java.util.Map<java.lang.String,java.lang.String> options, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)`
Converts the specified Ecore package (and its contents) to UML using the specified options, reporting problems to the specified diagnostics, within the specified context.

`protected java.util.Collection<Package>` `UMLUtil.PackageMerger.getAllMergedPackages(Package package_)`
`java.lang.Iterable<Package>` `UMLUtil.ProfileApplicationHelper.getOtherApplyingPackages(Package package_)`

Methods in org.eclipse.uml2.uml.util with parameters of type Package
`java.lang.Object` `UMLUtil.UML2EcoreConverter.casePackage(Package package_)`
`java.lang.Object` `UMLUtil.Profile2EPackageConverter.casePackage(Package package_)`
`T` `UMLSwitch.casePackage(Package object)` Returns the result of interpreting the object as an instance of 'Package'
`static java.util.Collection<org.eclipse.emf.ecore.EPackage>` `UMLUtil.convertToEcore(Package package_, java.util.Map<java.lang.String,java.lang.String> options)` Converts the specified package (and its contents) to Ecore using the specified options.

`static java.util.Collection<org.eclipse.emf.ecore.EPackage>`

`UMLUtil.convertToEcore(Package package_, java.util.Map<java.lang.String,java.lang.String> options, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)`
Converts the specified package (and its contents) to Ecore using the specified options, reporting problems to the specified diagnostics, within the specified context.

`protected java.util.Collection<Package>` `UMLUtil.PackageMerger.getAllMergedPackages(Package package_)`
`protected static org.eclipse.emf.ecore.EPackage` `UMLUtil.getEPackage(Package package_)`
`java.lang.Iterable<Package>` `UMLUtil.ProfileApplicationHelper.getOtherApplyingPackages(Package package_)`
`static java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.emf.ecore.EObject>>` `UMLUtil.merge(Package package_, java.util.Map<java.lang.String,java.lang.String> options)` Merges the contents of (all of) the packages merged by the specified package using the specified options.

`static java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.emf.ecore.EObject>>`

`UMLUtil.merge(Package package_, java.util.Map<java.lang.String,java.lang.String> options, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)`
Merges the contents of (all of) the packages merged by the specified package using the specified options, reporting problems to the specified diagnostics, within the specified context.

`java.util.Map<org.eclipse.emf.ecore.EObject,java.util.List<org.eclipse.emf.ecore.EObject>>`

`UMLUtil.PackageMerger.merge(Package package_, java.util.Map<java.lang.String,java.lang.String> options, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)`
Merges the contents of (all of) the packages merged by the specified package using the specified options, reporting problems to the specified diagnostics, within the specified context.

`boolean` `UMLValidator.validatePackage_validateElementsPublicOrPrivate(Package package_, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)` Validates the validateElementsPublicOrPrivate constraint of 'Package'
`boolean` `UMLValidator.validatePackage(Package package_, org.eclipse.emf.common.util.DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)`

Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved.