Interface NamedElement

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
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
All Known Implementing Classes:
AbstractMethodDeclarationImpl, AbstractTypeDeclarationImpl, AnnotationMemberValuePairImpl, AnnotationTypeDeclarationImpl, AnnotationTypeMemberDeclarationImpl, ArchiveImpl, ArrayTypeImpl, BodyDeclarationImpl, ClassDeclarationImpl, ClassFileImpl, CompilationUnitImpl, ConstructorDeclarationImpl, EnumConstantDeclarationImpl, EnumDeclarationImpl, FieldDeclarationImpl, InitializerImpl, InterfaceDeclarationImpl, LabeledStatementImpl, MethodDeclarationImpl, NamedElementImpl, PackageImpl, ParameterizedTypeImpl, PrimitiveTypeBooleanImpl, PrimitiveTypeByteImpl, PrimitiveTypeCharImpl, PrimitiveTypeDoubleImpl, PrimitiveTypeFloatImpl, PrimitiveTypeImpl, PrimitiveTypeIntImpl, PrimitiveTypeLongImpl, PrimitiveTypeShortImpl, PrimitiveTypeVoidImpl, SingleVariableDeclarationImpl, TypeDeclarationImpl, TypeImpl, TypeParameterImpl, UnresolvedAnnotationDeclarationImpl, UnresolvedAnnotationTypeMemberDeclarationImpl, UnresolvedClassDeclarationImpl, UnresolvedEnumDeclarationImpl, UnresolvedInterfaceDeclarationImpl, UnresolvedItemImpl, UnresolvedLabeledStatementImpl, UnresolvedMethodDeclarationImpl, UnresolvedSingleVariableDeclarationImpl, UnresolvedTypeDeclarationImpl, UnresolvedTypeImpl, UnresolvedVariableDeclarationFragmentImpl, VariableDeclarationFragmentImpl, VariableDeclarationImpl, WildCardTypeImpl

public interface NamedElement
extends ASTNode
A representation of the model object 'Named Element'.

The following features are supported:

See Also:
JavaPackage.getNamedElement()
  • Method Summary

    Modifier and Type Method Description
    String getName()
    Returns the value of the 'Name' attribute.
    org.eclipse.emf.common.util.EList<ImportDeclaration> getUsagesInImports()
    Returns the value of the 'Usages In Imports' reference list.
    boolean isProxy()
    Returns the value of the 'Proxy' attribute.
    void setName​(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.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