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

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

public interface UPSISwitchRef
extends ASTNode

A representation of a reference to a UPSI switch.

The following features are supported:

See Also:
COBOLPackage.getUPSISwitchRef()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 UPSISwitchBit getBit()
          Returns the value of the 'Bit' attribute.
 UPSISwitch getSwitch()
          Returns the value of the 'Switch' reference.
 void setBit(UPSISwitchBit value)
          Sets the value of the 'Bit' attribute.
 void setSwitch(UPSISwitch value)
          Sets the value of the 'Switch' 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.

If the UPSI switch is referenced using the default environment name, this method returns the representation of that name. If the UPSI switch name is declared in the SPECIAL-NAMES paragraph, this method returns the default value, which is UPSISwitchBit.UPSI_0_LITERAL.

Returns:
the value of the 'Bit' attribute.
See Also:
UPSISwitchBit, setBit(UPSISwitchBit), COBOLPackage.getUPSISwitchRef_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()

getSwitch

UPSISwitch getSwitch()
Returns the value of the 'Switch' reference.

If the UPSI switch name is specified in the SPECIAL-NAMES paragraph, this method returns the UPSI switch. If the UPSI switch is referenced using the default environment name, this method returns null.

Returns:
the value of the 'Switch' reference.
See Also:
setSwitch(UPSISwitch), COBOLPackage.getUPSISwitchRef_Switch()

setSwitch

void setSwitch(UPSISwitch value)
Sets the value of the 'Switch' reference.

Parameters:
value - the new value of the 'Switch' reference.
See Also:
getSwitch()