Interface Package

All Superinterfaces:
ASTNode, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, 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
    Model getModel()
    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.
    Package getPackage()
    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.
    void setModel​(Model value)
    Sets the value of the 'Model' container reference.
    void setPackage​(Package value)
    Sets the value of the 'Package' container reference.

    Methods inherited from interface org.eclipse.emf.cdo.CDOObject

    cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption

    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 org.eclipse.gmt.modisco.java.NamedElement

    getName, getUsagesInImports, isProxy, setName, setProxy

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver