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

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

public interface UsageClause
extends ASTNode

A representation of the USAGE clause in the declaration of a data item.

The following features are supported:

See Also:
COBOLPackage.getUsageClause()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 UsageValues getUsage()
          Returns the value of the 'Usage' attribute.
 boolean isNative()
          Returns the value of the 'Native' attribute.
 void setNative(boolean value)
          Sets the value of the 'Native' attribute.
 void setUsage(UsageValues value)
          Sets the value of the 'Usage' 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

getUsage

UsageValues getUsage()
Returns the value of the 'Usage' attribute. The literals are from the enumeration UsageValues.

Returns:
the value of the 'Usage' attribute.
See Also:
UsageValues, setUsage(UsageValues), COBOLPackage.getUsageClause_Usage()

setUsage

void setUsage(UsageValues value)
Sets the value of the 'Usage' attribute.

Parameters:
value - the new value of the 'Usage' attribute.
See Also:
UsageValues, getUsage()

isNative

boolean isNative()
Returns the value of the 'Native' attribute.

Returns true if the NATIVE keyword appears in the USAGE clause; false otherwise.

Returns:
the value of the 'Native' attribute.
See Also:
setNative(boolean), COBOLPackage.getUsageClause_Native()

setNative

void setNative(boolean value)
Sets the value of the 'Native' attribute.

Parameters:
value - the new value of the 'Native' attribute.
See Also:
isNative()