Package org.eclipse.gmt.modisco.java
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.StringgetOriginalFilePath()Returns the value of the 'Original File Path' attribute.PackagegetPackage()Returns the value of the 'Package' reference.org.eclipse.emf.common.util.EList<AbstractTypeDeclaration>getTypes()Returns the value of the 'Types' reference list.voidsetOriginalFilePath(String value)Sets the value of the 'Original File Path' attribute.voidsetPackage(Package value)Sets the value of the 'Package' 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.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, eURIFragmentSegmentMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods 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, eSetDeliverMethods inherited from interface fr.inria.atlanmod.neoemf.core.PersistentEObject
eInternalContainer, id, id, iterator, resource, resourceMethods inherited from interface fr.inria.atlanmod.neoemf.data.store.Storable
eStore
-
Method Details
-
getOriginalFilePath
String getOriginalFilePath()Returns the value of the 'Original File Path' attribute.- Returns:
- the value of the 'Original File Path' attribute.
- See Also:
setOriginalFilePath(String),JavaPackage.getCompilationUnit_OriginalFilePath()
-
setOriginalFilePath
Sets the value of the 'Original File Path' attribute.- Parameters:
value- the new value of the 'Original File Path' attribute.- See Also:
getOriginalFilePath()
-
getCommentList
org.eclipse.emf.common.util.EList<Comment> getCommentList()Returns the value of the 'Comment List' reference list. The list contents are of typeComment.- Returns:
- the value of the 'Comment List' reference list.
- See Also:
JavaPackage.getCompilationUnit_CommentList()
-
getImports
org.eclipse.emf.common.util.EList<ImportDeclaration> getImports()Returns the value of the 'Imports' containment reference list. The list contents are of typeImportDeclaration.- Returns:
- the value of the 'Imports' containment reference list.
- See Also:
JavaPackage.getCompilationUnit_Imports()
-
getPackage
Package getPackage()Returns the value of the 'Package' reference.- Returns:
- the value of the 'Package' reference.
- See Also:
setPackage(org.eclipse.gmt.modisco.java.Package),JavaPackage.getCompilationUnit_Package()
-
setPackage
Sets the value of the 'Package' reference.- Parameters:
value- the new value of the 'Package' reference.- See Also:
getPackage()
-
getTypes
org.eclipse.emf.common.util.EList<AbstractTypeDeclaration> getTypes()Returns the value of the 'Types' reference list. The list contents are of typeAbstractTypeDeclaration.- Returns:
- the value of the 'Types' reference list.
- See Also:
JavaPackage.getCompilationUnit_Types()
-