org.eclipse.gmt.modisco.java
Interface CompilationUnit

All Superinterfaces:
ASTNode, NamedElement

public interface CompilationUnit
extends NamedElement

A representation of the model object 'Compilation Unit'.

The following features are supported:

See Also:
JavaPackage.getCompilationUnit()
Generated:
Model:

Method Summary
  getCommentList()
          Returns the value of the 'Comment List' reference list.
  getImports()
          Returns the value of the 'Imports' containment reference list.
 java.lang.String getOriginalFilePath()
          Returns the value of the 'Original File Path' attribute.
 Package getPackage()
          Returns the value of the 'Package' reference.
  getTypes()
          Returns the value of the 'Types' reference list.
 void setOriginalFilePath(java.lang.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.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxy
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getOriginalFilePath

java.lang.String getOriginalFilePath()
Returns the value of the 'Original File Path' attribute.

If the meaning of the 'Original File Path' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Original File Path' attribute.
See Also:
setOriginalFilePath(String), JavaPackage.getCompilationUnit_OriginalFilePath()
Generated:
Model:
unique="false" required="true" ordered="false"

setOriginalFilePath

void setOriginalFilePath(java.lang.String value)
Sets the value of the 'Original File Path' attribute.

Parameters:
value - the new value of the 'Original File Path' attribute.
See Also:
getOriginalFilePath()
Generated:

getCommentList

 getCommentList()
Returns the value of the 'Comment List' reference list. The list contents are of type Comment.

If the meaning of the 'Comment List' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Comment List' reference list.
See Also:
JavaPackage.getCompilationUnit_CommentList()
Generated:
Model:

getImports

 getImports()
Returns the value of the 'Imports' containment reference list. The list contents are of type ImportDeclaration.

If the meaning of the 'Imports' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Imports' containment reference list.
See Also:
JavaPackage.getCompilationUnit_Imports()
Generated:
Model:
containment="true"

getPackage

Package getPackage()
Returns the value of the 'Package' reference.

If the meaning of the 'Package' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Package' reference.
See Also:
setPackage(org.eclipse.gmt.modisco.java.Package), JavaPackage.getCompilationUnit_Package()
Generated:
Model:
ordered="false"

setPackage

void setPackage(Package value)
Sets the value of the 'Package' reference.

Parameters:
value - the new value of the 'Package' reference.
See Also:
getPackage()
Generated:

getTypes

 getTypes()
Returns the value of the 'Types' reference list. The list contents are of type AbstractTypeDeclaration.

If the meaning of the 'Types' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Types' reference list.
See Also:
JavaPackage.getCompilationUnit_Types()
Generated:
Model: