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

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

public interface UPSISwitch
extends ASTNode

A representation of a UPSI switch specified in the SPECIAL-NAMES paragraph.

The following features are supported:

See Also:
COBOLPackage.getUPSISwitch()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 UPSISwitchBit getBit()
          Returns the value of the 'Bit' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 SwitchStatusCondition getOffCondition()
          Returns the value of the 'Off Condition' containment reference.
 SwitchStatusCondition getOnCondition()
          Returns the value of the 'On Condition' containment reference.
 void setBit(UPSISwitchBit value)
          Sets the value of the 'Bit' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setOffCondition(SwitchStatusCondition value)
          Sets the value of the 'Off Condition' containment reference.
 void setOnCondition(SwitchStatusCondition value)
          Sets the value of the 'On Condition' containment reference.
 
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

getBit

UPSISwitchBit getBit()
Returns the value of the 'Bit' attribute. The literals are from the enumeration UPSISwitchBit.

The value is a representation of the environment name of the switch.

Returns:
the value of the 'Bit' attribute.
See Also:
UPSISwitchBit, setBit(UPSISwitchBit), COBOLPackage.getUPSISwitch_Bit()

setBit

void setBit(UPSISwitchBit value)
Sets the value of the 'Bit' attribute.

Parameters:
value - the new value of the 'Bit' attribute.
See Also:
UPSISwitchBit, getBit()

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

The value is the mnemonic name of the switch.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), COBOLPackage.getUPSISwitch_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getOnCondition

SwitchStatusCondition getOnCondition()
Returns the value of the 'On Condition' containment reference.

The value is a representation of the name of the ON STATUS condition.

Returns:
the value of the 'On Condition' containment reference.
See Also:
setOnCondition(SwitchStatusCondition), COBOLPackage.getUPSISwitch_OnCondition()

setOnCondition

void setOnCondition(SwitchStatusCondition value)
Sets the value of the 'On Condition' containment reference.

Parameters:
value - the new value of the 'On Condition' containment reference.
See Also:
getOnCondition()

getOffCondition

SwitchStatusCondition getOffCondition()
Returns the value of the 'Off Condition' containment reference.

The value is a representation of the name of the OFF STATUS condition.

Returns:
the value of the 'Off Condition' containment reference.
See Also:
setOffCondition(SwitchStatusCondition), COBOLPackage.getUPSISwitch_OffCondition()

setOffCondition

void setOffCondition(SwitchStatusCondition value)
Sets the value of the 'Off Condition' containment reference.

Parameters:
value - the new value of the 'Off Condition' containment reference.
See Also:
getOffCondition()