public interface AcceptDataTransferStmt extends AcceptStmt
For an ACCEPT statement for data transfer, if the value following FROM in the source code is a mnemonic-name-1, then the method getEnvironment() returns null. To get the environment type in this situation use the method getEnvironmentName().getEnvironmentType().
The following features are supported:
COBOLPackage.getAcceptDataTransferStmt()| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
copyright |
| Modifier and Type | Method and Description |
|---|---|
Environment |
getEnvironment()
Returns the value of the 'Environment' containment reference.
|
MnemonicName |
getEnvironmentName()
Returns the value of the 'Environment Name' reference.
|
void |
setEnvironment(Environment value)
Sets the value of the '
Environment' containment reference. |
void |
setEnvironmentName(MnemonicName value)
Sets the value of the '
Environment Name' reference. |
getRef, setRefgetBeginColumn, getBeginFile, getBeginLine, getEndColumn, getEndFile, getEndLine, getParent, getTag, setBeginColumn, setBeginFile, setBeginLine, setEndColumn, setEndFile, setEndLine, setParent, setTagstatic final java.lang.String copyright
MnemonicName getEnvironmentName()
The value is the mnemonic name specified after the FROM keyword; if an environment name is specified after the FROM keyword, this method returns null.
setEnvironmentName(MnemonicName),
COBOLPackage.getAcceptDataTransferStmt_EnvironmentName()void setEnvironmentName(MnemonicName value)
Environment Name' reference.
value - the new value of the 'Environment Name' reference.getEnvironmentName()Environment getEnvironment()
The value is the environment corresponding to the environment name specified after the FROM keyword. If a mnemonic name is specified after the FROM keyword, this method returns null.
setEnvironment(Environment),
COBOLPackage.getAcceptDataTransferStmt_Environment()void setEnvironment(Environment value)
Environment' containment reference.
value - the new value of the 'Environment' containment reference.getEnvironment()