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

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

public interface ActualParameter
extends ASTNode

A representation of a parameter in the USING phrase of a CALL statement.

The following features are supported:

See Also:
COBOLPackage.getActualParameter()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataRefOrLiteral getArg()
          Returns the value of the 'Arg' containment reference.
 FileDescriptionEntry getFileArg()
          Returns the value of the 'File Arg' reference.
 ActualParamType getType()
          Returns the value of the 'Type' attribute.
 void setArg(DataRefOrLiteral value)
          Sets the value of the 'Arg' containment reference.
 void setFileArg(FileDescriptionEntry value)
          Sets the value of the 'File Arg' reference.
 void setType(ActualParamType value)
          Sets the value of the 'Type' 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

getArg

DataRefOrLiteral getArg()
Returns the value of the 'Arg' containment reference.

The value is the data item or literal that is the parameter. This method returns null if the OMITTED keyword is present, or if the parameter is a file name.

Returns:
the value of the 'Arg' containment reference.
See Also:
setArg(DataRefOrLiteral), COBOLPackage.getActualParameter_Arg()

setArg

void setArg(DataRefOrLiteral value)
Sets the value of the 'Arg' containment reference.

Parameters:
value - the new value of the 'Arg' containment reference.
See Also:
getArg()

getType

ActualParamType getType()
Returns the value of the 'Type' attribute. The literals are from the enumeration ActualParamType.

The value is a representation of BY VALUE, BY REFERENCE, or BY CONTENT.

Returns:
the value of the 'Type' attribute.
See Also:
ActualParamType, setType(ActualParamType), COBOLPackage.getActualParameter_Type()

setType

void setType(ActualParamType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
ActualParamType, getType()

getFileArg

FileDescriptionEntry getFileArg()
Returns the value of the 'File Arg' reference.

The value is the file description entry corresponding to the file name. If the parameter is not a file name, the value is null.

Returns:
the value of the 'File Arg' reference.
See Also:
setFileArg(FileDescriptionEntry), COBOLPackage.getActualParameter_FileArg()

setFileArg

void setFileArg(FileDescriptionEntry value)
Sets the value of the 'File Arg' reference.

Parameters:
value - the new value of the 'File Arg' reference.
See Also:
getFileArg()