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

Interface NumericItem

    • Method Detail

      • isSigned

        boolean isSigned()
        Returns the value of the 'Signed' attribute.

        The value is true if an S appears in the picture string; false otherwise.

        Returns:
        the value of the 'Signed' attribute.
        See Also:
        setSigned(boolean), COBOLPackage.getNumericItem_Signed()
      • setSigned

        void setSigned(boolean value)
        Sets the value of the 'Signed' attribute.
        Parameters:
        value - the new value of the 'Signed' attribute.
        See Also:
        isSigned()
      • isSignLeading

        boolean isSignLeading()
        Returns the value of the 'Sign Leading' attribute.

        The value is true if the LEADING keyword is present in the sign clause; false if the TRAILING keyword is present.

        Returns:
        the value of the 'Sign Leading' attribute.
        See Also:
        setSignLeading(boolean), COBOLPackage.getNumericItem_SignLeading()
      • setSignLeading

        void setSignLeading(boolean value)
        Sets the value of the 'Sign Leading' attribute.
        Parameters:
        value - the new value of the 'Sign Leading' attribute.
        See Also:
        isSignLeading()
      • isSignSeparate

        boolean isSignSeparate()
        Returns the value of the 'Sign Separate' attribute.

        The value is true if the SEPARATE or SEPARATE CHARACTER keywords are present in the sign clause; false otherwise.

        Returns:
        the value of the 'Sign Separate' attribute.
        See Also:
        setSignSeparate(boolean), COBOLPackage.getNumericItem_SignSeparate()
      • setSignSeparate

        void setSignSeparate(boolean value)
        Sets the value of the 'Sign Separate' attribute.
        Parameters:
        value - the new value of the 'Sign Separate' attribute.
        See Also:
        isSignSeparate()
      • getCurrencySymbol

        java.lang.String getCurrencySymbol()
        Returns the value of the 'Currency Symbol' attribute.

        The value is the value specified in the CURRENCY SIGN clause of the special names paragraph in the environment division.

        Returns:
        the value of the 'Currency Symbol' attribute.
        See Also:
        setCurrencySymbol(String), COBOLPackage.getNumericItem_CurrencySymbol()
      • getTrunc

        java.lang.String getTrunc()
        Deprecated. This method was superfluous.

        Returns the value of the 'Trunc' attribute.

        Returns:
        the value of the 'Trunc' attribute.
        See Also:
        setTrunc(String), COBOLPackage.getNumericItem_Trunc()
      • setTrunc

        void setTrunc(java.lang.String value)
        Deprecated. This method was superfluous.
        Sets the value of the 'Trunc' attribute.
        Parameters:
        value - the new value of the 'Trunc' attribute.
        See Also:
        getTrunc()
      • getNumproc

        java.lang.String getNumproc()
        Deprecated. This method was superfluous.

        Returns the value of the 'Numproc' attribute.

        Returns:
        the value of the 'Numproc' attribute.
        See Also:
        setNumproc(String), COBOLPackage.getNumericItem_Numproc()
      • setNumproc

        void setNumproc(java.lang.String value)
        Deprecated. This method was superfluous.
        Sets the value of the 'Numproc' attribute.
        Parameters:
        value - the new value of the 'Numproc' attribute.
        See Also:
        getNumproc()
      • isDecimal

        boolean isDecimal()
        Deprecated. This method was superfluous.

        Returns the value of the 'Decimal' attribute.

        Returns:
        the value of the 'Decimal' attribute.
        See Also:
        setDecimal(boolean), COBOLPackage.getNumericItem_Decimal()
      • setDecimal

        void setDecimal(boolean value)
        Deprecated. This method was superfluous.
        Sets the value of the 'Decimal' attribute.
        Parameters:
        value - the new value of the 'Decimal' attribute.
        See Also:
        isDecimal()