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

Interface AddToGivingStmt

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


    public interface AddToGivingStmt
    extends AddStmt
    A representation of an ADD statement with a GIVING clause.

    The following features are supported:

    See Also:
    COBOLPackage.getAddToGivingStmt()
    • Method Detail

      • getSumOf

        java.util.List getSumOf()
        Returns the value of the 'Sum Of' containment reference list. The list contents are of type DataRefOrLiteral.

        The list contains the data items or literals specified before the TO keyword.

        Returns:
        the value of the 'Sum Of' containment reference list.
        See Also:
        COBOLPackage.getAddToGivingStmt_SumOf()
      • getTo

        DataRefOrLiteral getTo()
        Returns the value of the 'To' containment reference.

        The value is the data item or literal specified after the TO keyword.

        Returns:
        the value of the 'To' containment reference.
        See Also:
        setTo(DataRefOrLiteral), COBOLPackage.getAddToGivingStmt_To()
      • setTo

        void setTo(DataRefOrLiteral value)
        Sets the value of the 'To' containment reference.
        Parameters:
        value - the new value of the 'To' containment reference.
        See Also:
        getTo()
      • getGiving

        java.util.List getGiving()
        Returns the value of the 'Giving' containment reference list. The list contents are of type ArithOperand.

        The list contains the data items specified in the GIVING clause.

        Returns:
        the value of the 'Giving' containment reference list.
        See Also:
        COBOLPackage.getAddToGivingStmt_Giving()