Interface CompilationUnit

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Iterable<fr.inria.atlanmod.neoemf.core.PersistentEObject>, NamedElement, org.eclipse.emf.common.notify.Notifier, fr.inria.atlanmod.neoemf.core.PersistentEObject, fr.inria.atlanmod.neoemf.data.store.Storable
All Known Implementing Classes:
CompilationUnitImpl

public interface CompilationUnit
extends NamedElement
A representation of the model object 'Compilation Unit'.

The following features are supported:

See Also:
JavaPackage.getCompilationUnit()
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject

    org.eclipse.emf.ecore.InternalEObject.EStore
  • Field Summary

    Fields inherited from interface org.eclipse.emf.ecore.InternalEObject

    EOPPOSITE_FEATURE_BASE
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.emf.common.util.EList<Comment> getCommentList()
    Returns the value of the 'Comment List' reference list.
    org.eclipse.emf.common.util.EList<ImportDeclaration> getImports()
    Returns the value of the 'Imports' containment reference list.
    String getOriginalFilePath()
    Returns the value of the 'Original File Path' attribute.
    Package getPackage()
    Returns the value of the 'Package' reference.
    org.eclipse.emf.common.util.EList<AbstractTypeDeclaration> getTypes()
    Returns the value of the 'Types' reference list.
    void setOriginalFilePath​(String value)
    Sets the value of the 'Original File Path' attribute.
    void setPackage​(Package value)
    Sets the value of the 'Package' reference.

    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.emf.ecore.InternalEObject

    eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator

    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

    Methods inherited from interface fr.inria.atlanmod.neoemf.core.PersistentEObject

    eInternalContainer, id, id, iterator, resource, resource

    Methods inherited from interface fr.inria.atlanmod.neoemf.data.store.Storable

    eStore