|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JCompilationUnit
A representation of the model object 'JCompilation Unit'.
The following features are supported:
JavaPackage.getJCompilationUnit()| Method Summary | |
|---|---|
java.lang.String |
getComment()
Returns the value of the 'Comment' attribute |
EList<JPackage> |
getImportedPackages()
Returns the value of the 'Imported Packages' reference list. |
EList<JClass> |
getImportedTypes()
Returns the value of the 'Imported Types' reference list. |
EList<java.lang.String> |
getImports()
Returns the value of the 'Imports' attribute list. |
JPackage |
getPackage()
Returns the value of the 'Package' reference |
EList<JClass> |
getTypes()
Returns the value of the 'Types' containment reference list. |
void |
resolveIdentifiers()
Resolves all package and class references based on the source; the JNode must be present. |
JClass |
resolveJClass(java.lang.String qualifiedName)
|
void |
setComment(java.lang.String value)
Sets the value of the ' Comment' attribute |
void |
setPackage(JPackage value)
Sets the value of the ' Package' reference |
| Methods inherited from interface org.eclipse.emf.java.JModelElement |
|---|
getJNode, getName, getQualifiedName, setJNode, setName |
| 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.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Method Detail |
|---|
JPackage getPackage()
setPackage(JPackage),
JavaPackage.getJCompilationUnit_Package()void setPackage(JPackage value)
Package' reference.
value - the new value of the 'Package' reference.getPackage()EList<java.lang.String> getImports()
String.
JavaPackage.getJCompilationUnit_Imports()java.lang.String getComment()
setComment(String),
JavaPackage.getJCompilationUnit_Comment()void setComment(java.lang.String value)
Comment' attribute.
value - the new value of the 'Comment' attribute.getComment()EList<JClass> getTypes()
JClass.
It is bidirectional and its opposite is 'Unit'.
JavaPackage.getJCompilationUnit_Types(),
JClass.getUnit()EList<JPackage> getImportedPackages()
JPackage.
JavaPackage.getJCompilationUnit_ImportedPackages()EList<JClass> getImportedTypes()
JClass.
JavaPackage.getJCompilationUnit_ImportedTypes()void resolveIdentifiers()
JClass resolveJClass(java.lang.String qualifiedName)
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||