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()
    • Method Detail

      • 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()