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

Interface TopLevelVariable

  • All Superinterfaces:
    ASTNode, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
    All Known Subinterfaces:
    Level01Item, Level77Item


    public interface TopLevelVariable
    extends ASTNode
    A representation of a level 1 data item or a level 77 data item in the working storage section, local storage section, and linkage section of the data division. Top level data items with other level numbers are not supported in the model.

    The following features are supported:

    See Also:
    COBOLPackage.getTopLevelVariable()
    • Method Detail

      • getDataItem

        DataItem getDataItem()
        Returns the value of the 'Data Item' containment reference.

        The data item at the top level of the working storage section, local storage section, or linkage section in the data division.

        Returns:
        the value of the 'Data Item' containment reference.
        See Also:
        setDataItem(DataItem), COBOLPackage.getTopLevelVariable_DataItem()
      • setDataItem

        void setDataItem(DataItem value)
        Sets the value of the 'Data Item' containment reference.
        Parameters:
        value - the new value of the 'Data Item' containment reference.
        See Also:
        getDataItem()