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

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

public interface FileDescriptionEntry
extends NamedElement

A representation of a file description entry. This node represents both FD and SD entries. The following clauses are not supported: BLOCK CONTAINS, RECORD, LABEL RECORDS, VALUE OF, and DATA RECORDS.

The following features are supported:

See Also:
COBOLPackage.getFileDescriptionEntry()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 FileControlEntry getFileControlEntry()
          Returns the value of the 'File Control Entry' reference.
 java.util.List getFileRecordDescriptions()
          Returns the value of the 'File Record Descriptions' containment reference list.
 SimpleRefOrLiteral getLinage()
          Returns the value of the 'Linage' containment reference.
 boolean isSort()
          Returns the value of the 'Sort' attribute.
 void setFileControlEntry(FileControlEntry value)
          Sets the value of the 'File Control Entry' reference.
 void setLinage(SimpleRefOrLiteral value)
          Sets the value of the 'Linage' containment reference.
 void setSort(boolean value)
          Sets the value of the 'Sort' 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

getFileControlEntry

FileControlEntry getFileControlEntry()
Returns the value of the 'File Control Entry' reference.

Returns:
the value of the 'File Control Entry' reference.
See Also:
setFileControlEntry(FileControlEntry), COBOLPackage.getFileDescriptionEntry_FileControlEntry()

setFileControlEntry

void setFileControlEntry(FileControlEntry value)
Sets the value of the 'File Control Entry' reference.

Parameters:
value - the new value of the 'File Control Entry' reference.
See Also:
getFileControlEntry()

getLinage

SimpleRefOrLiteral getLinage()
Returns the value of the 'Linage' containment reference.

The value is the value specified in the LINAGE clause (either a literal or a simple reference).

Returns:
the value of the 'Linage' containment reference.
See Also:
setLinage(SimpleRefOrLiteral), COBOLPackage.getFileDescriptionEntry_Linage()

setLinage

void setLinage(SimpleRefOrLiteral value)
Sets the value of the 'Linage' containment reference.

Parameters:
value - the new value of the 'Linage' containment reference.
See Also:
getLinage()

getFileRecordDescriptions

java.util.List getFileRecordDescriptions()
Returns the value of the 'File Record Descriptions' containment reference list. The list contents are of type Level01Item.

The returned list contains the level 1 items that comprise the file record description.

Returns:
the value of the 'File Record Descriptions' containment reference list.
See Also:
COBOLPackage.getFileDescriptionEntry_FileRecordDescriptions()

isSort

boolean isSort()
Returns the value of the 'Sort' attribute.

Returns true if the entry is an SD entry; false if the entry is an FD entry.

Returns:
the value of the 'Sort' attribute.
See Also:
setSort(boolean), COBOLPackage.getFileDescriptionEntry_Sort()

setSort

void setSort(boolean value)
Sets the value of the 'Sort' attribute.

Parameters:
value - the new value of the 'Sort' attribute.
See Also:
isSort()