com.ibm.etools.cobol.application.model.cobol

Interface OnKeyClause

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


    public interface OnKeyClause
    extends ASTNode
    A representation of an ON KEY clause in a MERGE or SORT statement.

    The following features are supported:

    See Also:
    COBOLPackage.getOnKeyClause()
    • Method Detail

      • isAscending

        boolean isAscending()
        Returns the value of the 'Ascending' attribute.

        The value is true if ASCENDING is present; false if DESCENDING is present.

        Returns:
        the value of the 'Ascending' attribute.
        See Also:
        setAscending(boolean), COBOLPackage.getOnKeyClause_Ascending()
      • setAscending

        void setAscending(boolean value)
        Sets the value of the 'Ascending' attribute.
        Parameters:
        value - the new value of the 'Ascending' attribute.
        See Also:
        isAscending()
      • getKey

        java.util.List getKey()
        Returns the value of the 'Key' reference list. The list contents are of type AbstractDataItem.

        The list contains the data items specified in the ON KEY clause.

        Returns:
        the value of the 'Key' reference list.
        See Also:
        COBOLPackage.getOnKeyClause_Key()