public interface FileControlEntry extends ASTNode
The following features are supported:
COBOLPackage.getFileControlEntry()| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
copyright |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getAssignmentNames()
Returns the value of the 'Assignment Names' containment reference list.
|
Literal |
getAssignTo()
Deprecated.
Use
getAssignmentNames() instead.
|
AbstractDataItem |
getAssignUsing()
Deprecated.
Use
getAssignmentNames() instead.
|
FileAccessModeClause |
getFileAccessModeClause()
Returns the value of the 'File Access Mode Clause' containment reference.
|
AbstractDataItem |
getPassword()
Returns the value of the 'Password' reference.
|
AbstractDataItem |
getPlatformSpecificStatus()
Returns the value of the 'Platform Specific Status' reference.
|
ReservePhrase |
getReservePhrase()
Returns the value of the 'Reserve Phrase' containment reference.
|
FileDescriptionEntry |
getSelect()
Returns the value of the 'Select' reference.
|
AbstractDataItem |
getStatus()
Returns the value of the 'Status' reference.
|
boolean |
isAutomaticLockMode()
Deprecated.
This was a superfluous method.
|
boolean |
isIsOptional()
Returns the value of the 'Is Optional' attribute.
|
boolean |
isWithLockOnRecord()
Deprecated.
This was a superfluous method.
|
void |
setAssignTo(Literal value)
Sets the value of the '
Assign To' containment reference. |
void |
setAssignUsing(AbstractDataItem value)
Sets the value of the '
Assign Using' reference. |
void |
setAutomaticLockMode(boolean value)
Deprecated.
This was a superfluous method.
|
void |
setFileAccessModeClause(FileAccessModeClause value)
Sets the value of the '
File Access Mode Clause' containment reference. |
void |
setIsOptional(boolean value)
Sets the value of the '
Is Optional' attribute. |
void |
setPassword(AbstractDataItem value)
Sets the value of the '
Password' reference. |
void |
setPlatformSpecificStatus(AbstractDataItem value)
Sets the value of the '
Platform Specific Status' reference. |
void |
setReservePhrase(ReservePhrase value)
Sets the value of the '
Reserve Phrase' containment reference. |
void |
setSelect(FileDescriptionEntry value)
Sets the value of the '
Select' reference. |
void |
setStatus(AbstractDataItem value)
Sets the value of the '
Status' reference. |
void |
setWithLockOnRecord(boolean value)
Deprecated.
This was a superfluous method.
|
getBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTagstatic final java.lang.String copyright
FileDescriptionEntry getSelect()
The value is the file description entry specified in the SELECT clause.
setSelect(FileDescriptionEntry),
COBOLPackage.getFileControlEntry_Select()void setSelect(FileDescriptionEntry value)
Select' reference.
value - the new value of the 'Select' reference.getSelect()boolean isIsOptional()
The value is true if the OPTIONAL keyword is present; false otherwise.
setIsOptional(boolean),
COBOLPackage.getFileControlEntry_IsOptional()void setIsOptional(boolean value)
Is Optional' attribute.
value - the new value of the 'Is Optional' attribute.isIsOptional()Literal getAssignTo()
getAssignmentNames() instead.
The value is the assignment name specified in the ASSIGN TO clause.
setAssignTo(Literal),
COBOLPackage.getFileControlEntry_AssignTo()void setAssignTo(Literal value)
Assign To' containment reference.
value - the new value of the 'Assign To' containment reference.getAssignTo()AbstractDataItem getAssignUsing()
getAssignmentNames() instead.
The value is the data item specified in the ASSIGN USING clause.
setAssignUsing(AbstractDataItem),
COBOLPackage.getFileControlEntry_AssignUsing()void setAssignUsing(AbstractDataItem value)
Assign Using' reference.
value - the new value of the 'Assign Using' reference.getAssignUsing()ReservePhrase getReservePhrase()
The value is the RESERVE clause.
setReservePhrase(ReservePhrase),
COBOLPackage.getFileControlEntry_ReservePhrase()void setReservePhrase(ReservePhrase value)
Reserve Phrase' containment reference.
value - the new value of the 'Reserve Phrase' containment reference.getReservePhrase()boolean isAutomaticLockMode()
setAutomaticLockMode(boolean),
COBOLPackage.getFileControlEntry_AutomaticLockMode()void setAutomaticLockMode(boolean value)
Automatic Lock Mode' attribute.
value - the new value of the 'Automatic Lock Mode' attribute.isAutomaticLockMode()boolean isWithLockOnRecord()
setWithLockOnRecord(boolean),
COBOLPackage.getFileControlEntry_WithLockOnRecord()void setWithLockOnRecord(boolean value)
With Lock On Record' attribute.
value - the new value of the 'With Lock On Record' attribute.isWithLockOnRecord()AbstractDataItem getPassword()
The value is the data item specified in the PASSWORD clause.
setPassword(AbstractDataItem),
COBOLPackage.getFileControlEntry_Password()void setPassword(AbstractDataItem value)
Password' reference.
value - the new value of the 'Password' reference.getPassword()AbstractDataItem getStatus()
The value is the file status key data item specified in the FILE STATUS clause.
The optional second data item can be obtained using 'Platform Specific Status'.
setStatus(AbstractDataItem),
COBOLPackage.getFileControlEntry_Status()void setStatus(AbstractDataItem value)
Status' reference.
value - the new value of the 'Status' reference.getStatus()AbstractDataItem getPlatformSpecificStatus()
The value is the second data item specified in the FILE STATUS clause, usually the data item that holds the VSAM return code.
setPlatformSpecificStatus(AbstractDataItem),
COBOLPackage.getFileControlEntry_PlatformSpecificStatus()void setPlatformSpecificStatus(AbstractDataItem value)
Platform Specific Status' reference.
value - the new value of the 'Platform Specific Status' reference.getPlatformSpecificStatus()FileAccessModeClause getFileAccessModeClause()
A representation of the file access mode clause. If this clause does not appear in the file control entry, null is returned.
setFileAccessModeClause(FileAccessModeClause),
COBOLPackage.getFileControlEntry_FileAccessModeClause()void setFileAccessModeClause(FileAccessModeClause value)
File Access Mode Clause' containment reference.
value - the new value of the 'File Access Mode Clause' containment reference.getFileAccessModeClause()java.util.List getAssignmentNames()
AssignmentNameOrLiteral.
The list contains the assignment names and literals in the ASSIGN TO clause.
COBOLPackage.getFileControlEntry_AssignmentNames()