org.eclipse.gmt.modisco.java
Interface ImportDeclaration

All Superinterfaces:
ASTNode

public interface ImportDeclaration
extends ASTNode

A representation of the model object 'Import Declaration'.

The following features are supported:

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

Method Summary
 NamedElement getImportedElement()
          Returns the value of the 'Imported Element' reference.
 boolean isStatic()
          Returns the value of the 'Static' attribute.
 void setImportedElement(NamedElement value)
          Sets the value of the 'Imported Element' reference.
 void setStatic(boolean value)
          Sets the value of the 'Static' attribute.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

isStatic

boolean isStatic()
Returns the value of the 'Static' attribute.

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

Returns:
the value of the 'Static' attribute.
See Also:
setStatic(boolean), JavaPackage.getImportDeclaration_Static()
Generated:
Model:
unique="false" ordered="false"

setStatic

void setStatic(boolean value)
Sets the value of the 'Static' attribute.

Parameters:
value - the new value of the 'Static' attribute.
See Also:
isStatic()
Generated:

getImportedElement

NamedElement getImportedElement()
Returns the value of the 'Imported Element' reference. It is bidirectional and its opposite is 'Usages In Imports'.

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

Returns:
the value of the 'Imported Element' reference.
See Also:
setImportedElement(NamedElement), JavaPackage.getImportDeclaration_ImportedElement(), NamedElement.getUsagesInImports()
Generated:
Model:
opposite="usagesInImports" required="true" ordered="false"

setImportedElement

void setImportedElement(NamedElement value)
Sets the value of the 'Imported Element' reference.

Parameters:
value - the new value of the 'Imported Element' reference.
See Also:
getImportedElement()
Generated: