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

Interface VariableTableDataItem

    • Method Detail

      • getMinNumberOfElements

        int getMinNumberOfElements()
        Returns the value of the 'Min Number Of Elements' attribute.

        The value is the minimum number of elements specified in the OCCURS DEPENDING ON clause.

        Returns:
        the value of the 'Min Number Of Elements' attribute.
        See Also:
        setMinNumberOfElements(int), COBOLPackage.getVariableTableDataItem_MinNumberOfElements()
      • setMinNumberOfElements

        void setMinNumberOfElements(int value)
        Sets the value of the 'Min Number Of Elements' attribute.
        Parameters:
        value - the new value of the 'Min Number Of Elements' attribute.
        See Also:
        getMinNumberOfElements()
      • getMaxNumberOfElements

        int getMaxNumberOfElements()
        Returns the value of the 'Max Number Of Elements' attribute.

        The value is the maximum number of elements specified in the OCCURS DEPENDING ON clause.

        Returns:
        the value of the 'Max Number Of Elements' attribute.
        See Also:
        setMaxNumberOfElements(int), COBOLPackage.getVariableTableDataItem_MaxNumberOfElements()
      • setMaxNumberOfElements

        void setMaxNumberOfElements(int value)
        Sets the value of the 'Max Number Of Elements' attribute.
        Parameters:
        value - the new value of the 'Max Number Of Elements' attribute.
        See Also:
        getMaxNumberOfElements()
      • getDependingUpon

        AbstractDataItem getDependingUpon()
        Returns the value of the 'Depending Upon' reference.

        The value is the data item specified in the DEPENDING ON phrase.

        Returns:
        the value of the 'Depending Upon' reference.
        See Also:
        setDependingUpon(AbstractDataItem), COBOLPackage.getVariableTableDataItem_DependingUpon()
      • isUnbounded

        boolean isUnbounded()
        Returns the value of the 'Unbounded' attribute.

        The value is true if UNBOUNDED is present rather than a number for the maximum number of elements; false otherwise.

        Returns:
        the value of the 'Unbounded' attribute.
        See Also:
        setUnbounded(boolean), COBOLPackage.getVariableTableDataItem_Unbounded()
      • setUnbounded

        void setUnbounded(boolean value)
        Sets the value of the 'Unbounded' attribute.
        Parameters:
        value - the new value of the 'Unbounded' attribute.
        See Also:
        isUnbounded()