org.eclipse.gmt.modisco.java
Interface NamedElement

All Superinterfaces:
ASTNode
All Known Subinterfaces:
AbstractMethodDeclaration, AbstractTypeDeclaration, AnnotationMemberValuePair, AnnotationTypeDeclaration, AnnotationTypeMemberDeclaration, Archive, ArrayType, BodyDeclaration, ClassDeclaration, ClassFile, CompilationUnit, ConstructorDeclaration, EnumConstantDeclaration, EnumDeclaration, FieldDeclaration, Initializer, InterfaceDeclaration, LabeledStatement, MethodDeclaration, Package, ParameterizedType, PrimitiveType, PrimitiveTypeBoolean, PrimitiveTypeByte, PrimitiveTypeChar, PrimitiveTypeDouble, PrimitiveTypeFloat, PrimitiveTypeInt, PrimitiveTypeLong, PrimitiveTypeShort, PrimitiveTypeVoid, SingleVariableDeclaration, Type, TypeDeclaration, TypeParameter, UnresolvedAnnotationDeclaration, UnresolvedAnnotationTypeMemberDeclaration, UnresolvedClassDeclaration, UnresolvedEnumDeclaration, UnresolvedInterfaceDeclaration, UnresolvedItem, UnresolvedLabeledStatement, UnresolvedMethodDeclaration, UnresolvedSingleVariableDeclaration, UnresolvedType, UnresolvedTypeDeclaration, UnresolvedVariableDeclarationFragment, VariableDeclaration, VariableDeclarationFragment, WildCardType

public interface NamedElement
extends ASTNode

A representation of the model object 'Named Element'.

The following features are supported:

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

Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
  getUsagesInImports()
          Returns the value of the 'Usages In Imports' reference list.
 boolean isProxy()
          Returns the value of the 'Proxy' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setProxy(boolean value)
          Sets the value of the 'Proxy' attribute.
 
Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnit
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

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

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), JavaPackage.getNamedElement_Name()
Generated:
Model:
unique="false" ordered="false"

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()
Generated:

isProxy

boolean isProxy()
Returns the value of the 'Proxy' attribute.

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

Returns:
the value of the 'Proxy' attribute.
See Also:
setProxy(boolean), JavaPackage.getNamedElement_Proxy()
Generated:
Model:
unique="false" required="true" ordered="false"

setProxy

void setProxy(boolean value)
Sets the value of the 'Proxy' attribute.

Parameters:
value - the new value of the 'Proxy' attribute.
See Also:
isProxy()
Generated:

getUsagesInImports

 getUsagesInImports()
Returns the value of the 'Usages In Imports' reference list. The list contents are of type ImportDeclaration. It is bidirectional and its opposite is 'Imported Element'.

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

Returns:
the value of the 'Usages In Imports' reference list.
See Also:
JavaPackage.getNamedElement_UsagesInImports(), ImportDeclaration.getImportedElement()
Generated:
Model:
opposite="importedElement" ordered="false"