org.eclipse.gmt.modisco.java
Interface AbstractTypeDeclaration

All Superinterfaces:
ASTNode, BodyDeclaration, NamedElement, Type
All Known Subinterfaces:
AnnotationTypeDeclaration, ClassDeclaration, EnumDeclaration, InterfaceDeclaration, TypeDeclaration, UnresolvedAnnotationDeclaration, UnresolvedClassDeclaration, UnresolvedEnumDeclaration, UnresolvedInterfaceDeclaration, UnresolvedTypeDeclaration

public interface AbstractTypeDeclaration
extends BodyDeclaration, Type

A representation of the model object 'Abstract Type Declaration'.

The following features are supported:

See Also:
JavaPackage.getAbstractTypeDeclaration()
Generated:
Model:
abstract="true"

Method Summary
  getBodyDeclarations()
          Returns the value of the 'Body Declarations' containment reference list.
  getCommentsAfterBody()
          Returns the value of the 'Comments After Body' containment reference list.
  getCommentsBeforeBody()
          Returns the value of the 'Comments Before Body' containment reference list.
 Package getPackage()
          Returns the value of the 'Package' container reference.
  getSuperInterfaces()
          Returns the value of the 'Super Interfaces' containment reference list.
 void setPackage(Package value)
          Sets the value of the 'Package' container reference.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.BodyDeclaration
getAbstractTypeDeclaration, getAnnotations, getAnonymousClassDeclarationOwner, getModifier, setAbstractTypeDeclaration, setAnonymousClassDeclarationOwner, setModifier
 
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
 
Methods inherited from interface org.eclipse.gmt.modisco.java.Type
getUsagesInTypeAccess
 
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

getBodyDeclarations

 getBodyDeclarations()
Returns the value of the 'Body Declarations' containment reference list. The list contents are of type BodyDeclaration. It is bidirectional and its opposite is 'Abstract Type Declaration'.

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

Returns:
the value of the 'Body Declarations' containment reference list.
See Also:
JavaPackage.getAbstractTypeDeclaration_BodyDeclarations(), BodyDeclaration.getAbstractTypeDeclaration()
Generated:
Model:
opposite="abstractTypeDeclaration" containment="true"

getCommentsBeforeBody

 getCommentsBeforeBody()
Returns the value of the 'Comments Before Body' containment reference list. The list contents are of type Comment.

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

Returns:
the value of the 'Comments Before Body' containment reference list.
See Also:
JavaPackage.getAbstractTypeDeclaration_CommentsBeforeBody()
Generated:
Model:
containment="true"

getCommentsAfterBody

 getCommentsAfterBody()
Returns the value of the 'Comments After Body' containment reference list. The list contents are of type Comment.

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

Returns:
the value of the 'Comments After Body' containment reference list.
See Also:
JavaPackage.getAbstractTypeDeclaration_CommentsAfterBody()
Generated:
Model:
containment="true"

getPackage

Package getPackage()
Returns the value of the 'Package' container reference. It is bidirectional and its opposite is 'Owned Elements'.

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

Returns:
the value of the 'Package' container reference.
See Also:
setPackage(org.eclipse.gmt.modisco.java.Package), JavaPackage.getAbstractTypeDeclaration_Package(), Package.getOwnedElements()
Generated:
Model:
opposite="ownedElements" transient="false" ordered="false"

setPackage

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

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

getSuperInterfaces

 getSuperInterfaces()
Returns the value of the 'Super Interfaces' containment reference list. The list contents are of type TypeAccess.

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

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