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

All Superinterfaces:
ASTNode, DeclarativesContent, org.eclipse.emf.ecore.EObject, NamedElement, org.eclipse.emf.common.notify.Notifier, ProcedureDivisionContent, SectionOrParagraph

public interface Section
extends SectionOrParagraph, ProcedureDivisionContent, DeclarativesContent

A representation of a section in the PROCEDURE division.

The following features are supported:

See Also:
COBOLPackage.getSection()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getParagraphs()
          Returns the value of the 'Paragraphs' containment reference list.
 short getPriorityNumber()
          Returns the value of the 'Priority Number' attribute.
 java.util.List getSentences()
          Returns the value of the 'Sentences' containment reference list.
 void setPriorityNumber(short value)
          Sets the value of the 'Priority Number' attribute.
 
Methods inherited from interface com.ibm.etools.cobol.application.model.cobol.NamedElement
getName, setName
 
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

getParagraphs

java.util.List getParagraphs()
Returns the value of the 'Paragraphs' containment reference list. The list contents are of type Paragraph.

Returns:
the value of the 'Paragraphs' containment reference list.
See Also:
COBOLPackage.getSection_Paragraphs()

getPriorityNumber

short getPriorityNumber()
Returns the value of the 'Priority Number' attribute.

Returns:
the value of the 'Priority Number' attribute.
See Also:
setPriorityNumber(short), COBOLPackage.getSection_PriorityNumber()

setPriorityNumber

void setPriorityNumber(short value)
Sets the value of the 'Priority Number' attribute.

Parameters:
value - the new value of the 'Priority Number' attribute.
See Also:
getPriorityNumber()

getSentences

java.util.List getSentences()
Returns the value of the 'Sentences' containment reference list. The list contents are of type Sentence.

The value is a list of the sentences that are not in paragraphs; if there are no such sentences, the list is empty.

Returns:
the value of the 'Sentences' containment reference list.
See Also:
COBOLPackage.getSection_Sentences()