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

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

public interface FormalParameter
extends ASTNode

A representation of a formal Parameter specified in the USING clause.

The following features are supported:

See Also:
COBOLPackage.getFormalParameter()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 DataItem getArg()
          Returns the value of the 'Arg' reference.
 FormalParamType getType()
          Returns the value of the 'Type' attribute.
 void setArg(DataItem value)
          Sets the value of the 'Arg' reference.
 void setType(FormalParamType 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

DataItem getArg()
Returns the value of the 'Arg' reference.

The value is the data item specified as the parameter.

Returns:
the value of the 'Arg' reference.
See Also:
setArg(DataItem), COBOLPackage.getFormalParameter_Arg()

setArg

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

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

getType

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

The type is either BY REFERENCE or BY VALUE.

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

setType

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

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