Package org.eclipse.gmt.modisco.java
Interface ClassFile
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ClassFileImpl
public interface ClassFile extends NamedElement
A representation of the model object 'Class File'.
The following features are supported:
- See Also:
JavaPackage.getClassFile()
-
Method Summary
Modifier and Type Method Description CompilationUnitgetAttachedSource()Returns the value of the 'Attached Source' reference.StringgetOriginalFilePath()Returns the value of the 'Original File Path' attribute.PackagegetPackage()Returns the value of the 'Package' reference.AbstractTypeDeclarationgetType()Returns the value of the 'Type' reference.voidsetAttachedSource(CompilationUnit value)Sets the value of the 'Attached Source' reference.voidsetOriginalFilePath(String value)Sets the value of the 'Original File Path' attribute.voidsetPackage(Package value)Sets the value of the 'Package' reference.voidsetType(AbstractTypeDeclaration value)Sets the value of the 'Type' 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.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
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.getClassFile_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()
-
getType
AbstractTypeDeclaration getType()Returns the value of the 'Type' reference.- Returns:
- the value of the 'Type' reference.
- See Also:
setType(AbstractTypeDeclaration),JavaPackage.getClassFile_Type()
-
setType
Sets the value of the 'Type' reference.- Parameters:
value- the new value of the 'Type' reference.- See Also:
getType()
-
getAttachedSource
CompilationUnit getAttachedSource()Returns the value of the 'Attached Source' reference.- Returns:
- the value of the 'Attached Source' reference.
- See Also:
setAttachedSource(CompilationUnit),JavaPackage.getClassFile_AttachedSource()
-
setAttachedSource
Sets the value of the 'Attached Source' reference.- Parameters:
value- the new value of the 'Attached Source' reference.- See Also:
getAttachedSource()
-
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.getClassFile_Package()
-
setPackage
Sets the value of the 'Package' reference.- Parameters:
value- the new value of the 'Package' reference.- See Also:
getPackage()
-