/// <summary>
        /// Sets up the data Vectors to display the reservoir collection data in the
        /// GUI.
        /// </summary>
        private void setupData()
        {
            int[] years                 = null;
            int   len                   = 0;
            int   size                  = _data.size();
            int   size2                 = 0;
            StateMod_Reservoir l        = null;
            string             colType  = null;
            string             id       = null;
            string             partType = null;

            System.Collections.IList ids = null;
            __data = new System.Collections.IList[__COLUMNS];
            for (int i = 0; i < __COLUMNS; i++)
            {
                __data[i] = new List <object>();
            }

            int rows = 0;

            for (int i = 0; i < size; i++)
            {
                l  = (StateMod_Reservoir)_data.get(i);
                id = l.getID();
                //		div = new Integer(l.getCollectionDiv());

                years    = l.getCollectionYears();
                colType  = l.getCollectionType();
                partType = l.getCollectionPartType();

                if (years == null)
                {
                    len = 0;
                }
                else
                {
                    len = years.Length;
                }

                for (int j = 0; j < len; j++)
                {
                    ids = l.getCollectionPartIDs(years[j]);
                    if (ids == null)
                    {
                        size2 = 0;
                    }
                    else
                    {
                        size2 = ids.Count;
                    }

                    for (int k = 0; k < size2; k++)
                    {
                        __data[__COL_ID].Add(id);
                        //				__data[__COL_DIV].add(div);
                        __data[__COL_YEAR].Add(new int?(years[j]));
                        __data[__COL_COL_TYPE].Add(colType);
                        __data[__COL_PART_TYPE].Add(partType);
                        __data[__COL_PART_ID].Add(ids[k]);
                        rows++;
                    }
                }
            }
            _rows = rows;
        }