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. Parameters that are file names are not supported.

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.
 ActualParamType getType()
          Returns the value of the 'Type' attribute.
 void setArg(DataRefOrLiteral value)
          Sets the value of the 'Arg' containment 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.

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()