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

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

public interface AlternateKeyClause
extends ASTNode

A representation of an alternate key clause in a file control entry of a file with indexed organization.

The following features are supported:

See Also:
COBOLPackage.getAlternateKeyClause()

Field Summary
static java.lang.String copyright
           
 
Method Summary
 AbstractDataItem getKey()
          Returns the value of the 'Key' reference.
 AbstractDataItem getPassword()
          Returns the value of the 'Password' reference.
 boolean isWithDuplicates()
          Returns the value of the 'With Duplicates' attribute.
 void setKey(AbstractDataItem value)
          Sets the value of the 'Key' reference.
 void setPassword(AbstractDataItem value)
          Sets the value of the 'Password' reference.
 void setWithDuplicates(boolean value)
          Sets the value of the 'With Duplicates' 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

getKey

AbstractDataItem getKey()
Returns the value of the 'Key' reference.

Returns:
the value of the 'Key' reference.
See Also:
setKey(AbstractDataItem), COBOLPackage.getAlternateKeyClause_Key()

setKey

void setKey(AbstractDataItem value)
Sets the value of the 'Key' reference.

Parameters:
value - the new value of the 'Key' reference.
See Also:
getKey()

isWithDuplicates

boolean isWithDuplicates()
Returns the value of the 'With Duplicates' attribute.

The value is true if the DUPLICATES keyword is present; false otherwise.

Returns:
the value of the 'With Duplicates' attribute.
See Also:
setWithDuplicates(boolean), COBOLPackage.getAlternateKeyClause_WithDuplicates()

setWithDuplicates

void setWithDuplicates(boolean value)
Sets the value of the 'With Duplicates' attribute.

Parameters:
value - the new value of the 'With Duplicates' attribute.
See Also:
isWithDuplicates()

getPassword

AbstractDataItem getPassword()
Returns the value of the 'Password' reference.

Returns:
the value of the 'Password' reference.
See Also:
setPassword(AbstractDataItem), COBOLPackage.getAlternateKeyClause_Password()

setPassword

void setPassword(AbstractDataItem value)
Sets the value of the 'Password' reference.

Parameters:
value - the new value of the 'Password' reference.
See Also:
getPassword()