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

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

public interface SetSwitchesClause
extends ASTNode

A representation of a clause in a SET statement.

The following features are supported:

See Also:
COBOLPackage.getSetSwitchesClause()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.util.List getSwitches()
          Returns the value of the 'Switches' containment reference list.
 boolean isOn()
          Returns the value of the 'On' attribute.
 void setOn(boolean value)
          Sets the value of the 'On' 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

getSwitches

java.util.List getSwitches()
Returns the value of the 'Switches' containment reference list. The list contents are of type UPSISwitchRef.

The list contains references to UPSI switches.

Returns:
the value of the 'Switches' containment reference list.
See Also:
COBOLPackage.getSetSwitchesClause_Switches()

isOn

boolean isOn()
Returns the value of the 'On' attribute.

The value is true if the ON keyword is present; false if the OFF keyword is present.

Returns:
the value of the 'On' attribute.
See Also:
setOn(boolean), COBOLPackage.getSetSwitchesClause_On()

setOn

void setOn(boolean value)
Sets the value of the 'On' attribute.

Parameters:
value - the new value of the 'On' attribute.
See Also:
isOn()