com.ibm.etools.cobol.application.model.cobol
Interface NamedElement

All Superinterfaces:
ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Subinterfaces:
AbstractDataItem, AddressingItem, AddressOf, Alphabet, AlphabeticItem, AlphaNumericEditedItem, AlphaNumericItem, AssignmentName, BaseProgram, ClassName, DataItem, DBCSItem, ElementaryDataItem, FileDescriptionEntry, FixedTableDataItem, FuncPtrItem, GroupDataItem, IndexVariable, LengthOf, Level66Item, Level88Item, LinageCounter, NumericEditedItem, NumericItem, ObjectReferenceItem, Paragraph, PointerItem, ProcPtrItem, Program, ProgramSourceFile, Section, SectionOrParagraph, SourceFile, SpecialRegister, SwitchStatusCondition, TableDataItem, UnicodeEditedItem, UnicodeItem, UserDefinedCharacterClass, VariableTableDataItem, XMLSchema

public interface NamedElement
extends ASTNode

An interface implemented by each node of the syntax tree that has a name. Some of the named elements are data items, sections, paragraphs, and programs.

The following features are supported:

See Also:
COBOLPackage.getNamedElement()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.ASTNode
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTag
 
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
 

Field Detail

copyright

static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getName

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

The name of the the part of the COBOL program represented by the node that implements this interface.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), COBOLPackage.getNamedElement_Name()

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()