Package org.eclipse.gmt.modisco.java
Interface Package
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
PackageImpl
public interface Package extends NamedElement
A representation of the model object 'Package'.
The following features are supported:
- See Also:
JavaPackage.getPackage()
-
Method Summary
Modifier and Type Method Description ModelgetModel()Returns the value of the 'Model' container reference.org.eclipse.emf.common.util.EList<AbstractTypeDeclaration>getOwnedElements()Returns the value of the 'Owned Elements' containment reference list.org.eclipse.emf.common.util.EList<Package>getOwnedPackages()Returns the value of the 'Owned Packages' containment reference list.PackagegetPackage()Returns the value of the 'Package' container reference.org.eclipse.emf.common.util.EList<PackageAccess>getUsagesInPackageAccess()Returns the value of the 'Usages In Package Access' reference list.voidsetModel(Model value)Sets the value of the 'Model' container reference.voidsetPackage(Package value)Sets the value of the 'Package' container reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getOwnedElements
org.eclipse.emf.common.util.EList<AbstractTypeDeclaration> getOwnedElements()Returns the value of the 'Owned Elements' containment reference list. The list contents are of typeAbstractTypeDeclaration. It is bidirectional and its opposite is 'Package'.- Returns:
- the value of the 'Owned Elements' containment reference list.
- See Also:
JavaPackage.getPackage_OwnedElements(),AbstractTypeDeclaration.getPackage()
-
getModel
Model getModel()Returns the value of the 'Model' container reference. It is bidirectional and its opposite is 'Owned Elements'.- Returns:
- the value of the 'Model' container reference.
- See Also:
setModel(Model),JavaPackage.getPackage_Model(),Model.getOwnedElements()
-
setModel
Sets the value of the 'Model' container reference.- Parameters:
value- the new value of the 'Model' container reference.- See Also:
getModel()
-
getOwnedPackages
org.eclipse.emf.common.util.EList<Package> getOwnedPackages()Returns the value of the 'Owned Packages' containment reference list. The list contents are of typePackage. It is bidirectional and its opposite is 'Package'.- Returns:
- the value of the 'Owned Packages' containment reference list.
- See Also:
JavaPackage.getPackage_OwnedPackages(),getPackage()
-
getPackage
Package getPackage()Returns the value of the 'Package' container reference. It is bidirectional and its opposite is 'Owned Packages'.- Returns:
- the value of the 'Package' container reference.
- See Also:
setPackage(Package),JavaPackage.getPackage_Package(),getOwnedPackages()
-
setPackage
Sets the value of the 'Package' container reference.- Parameters:
value- the new value of the 'Package' container reference.- See Also:
getPackage()
-
getUsagesInPackageAccess
org.eclipse.emf.common.util.EList<PackageAccess> getUsagesInPackageAccess()Returns the value of the 'Usages In Package Access' reference list. The list contents are of typePackageAccess. It is bidirectional and its opposite is 'Package'.- Returns:
- the value of the 'Usages In Package Access' reference list.
- See Also:
JavaPackage.getPackage_UsagesInPackageAccess(),PackageAccess.getPackage()
-