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

Interface ElementaryDataItem

    • Method Detail

      • getPictureString

        java.lang.String getPictureString()
        Returns the value of the 'Picture String' attribute.

        The value is the character string of the PICTURE clause.

        Returns:
        the value of the 'Picture String' attribute.
        See Also:
        setPictureString(String), COBOLPackage.getElementaryDataItem_PictureString()
      • setPictureString

        void setPictureString(java.lang.String value)
        Sets the value of the 'Picture String' attribute.
        Parameters:
        value - the new value of the 'Picture String' attribute.
        See Also:
        getPictureString()
      • getUsage

        UsageValues getUsage()
        Deprecated. Use getUsageClause() instead.

        Returns the value of the 'Usage' attribute. The literals are from the enumeration UsageValues.

        The value is the remainder of the USAGE clause after the USAGE keyword. If there is no USAGE keyword, a default value will be returned according to the rules in the language reference.

        Returns:
        the value of the 'Usage' attribute.
        See Also:
        UsageValues, setUsage(UsageValues), COBOLPackage.getElementaryDataItem_Usage()
      • isSynchronized

        boolean isSynchronized()
        Returns the value of the 'Synchronized' attribute.

        The value is true if the SYNCHRONIZED clause is present; false otherwise.

        Returns:
        the value of the 'Synchronized' attribute.
        See Also:
        setSynchronized(boolean), COBOLPackage.getElementaryDataItem_Synchronized()
      • setSynchronized

        void setSynchronized(boolean value)
        Sets the value of the 'Synchronized' attribute.
        Parameters:
        value - the new value of the 'Synchronized' attribute.
        See Also:
        isSynchronized()
      • getUsageClause

        UsageClause getUsageClause()
        Returns the value of the 'Usage Clause' containment reference.

        The value is a representation of the USAGE clause. If the USAGE clause is not present, the value is null.

        Returns:
        the value of the 'Usage Clause' containment reference.
        See Also:
        setUsageClause(UsageClause), COBOLPackage.getElementaryDataItem_UsageClause()
      • setUsageClause

        void setUsageClause(UsageClause value)
        Sets the value of the 'Usage Clause' containment reference.
        Parameters:
        value - the new value of the 'Usage Clause' containment reference.
        See Also:
        getUsageClause()
      • getDateFormatClause

        DateFormatClause getDateFormatClause()
        Returns the value of the 'Date Format Clause' containment reference.

        The value is a representation of the DATE FORMAT clause, if one is present; if there is no DATE FORMAT clause, the value is null.

        Returns:
        the value of the 'Date Format Clause' containment reference.
        See Also:
        setDateFormatClause(DateFormatClause), COBOLPackage.getElementaryDataItem_DateFormatClause()