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

Interface ArithOperand

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


    public interface ArithOperand
    extends ASTNode
    A representation of a data item used in an arithmetic statement, optionally followed by the ROUNDED keyword.

    The following features are supported:

    See Also:
    COBOLPackage.getArithOperand()
    • Method Detail

      • getRef

        DataRef getRef()
        Returns the value of the 'Ref' containment reference.

        The value is a reference to a data item in an arithmetic statement.

        Returns:
        the value of the 'Ref' containment reference.
        See Also:
        setRef(DataRef), COBOLPackage.getArithOperand_Ref()
      • setRef

        void setRef(DataRef value)
        Sets the value of the 'Ref' containment reference.
        Parameters:
        value - the new value of the 'Ref' containment reference.
        See Also:
        getRef()
      • isRounded

        boolean isRounded()
        Returns the value of the 'Rounded' attribute.

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

        Returns:
        the value of the 'Rounded' attribute.
        See Also:
        setRounded(boolean), COBOLPackage.getArithOperand_Rounded()
      • setRounded

        void setRounded(boolean value)
        Sets the value of the 'Rounded' attribute.
        Parameters:
        value - the new value of the 'Rounded' attribute.
        See Also:
        isRounded()