Package hec.data.meta

Class Catalog

All Implemented Interfaces:
MetaCatalogQuery, SqlQuery, Serializable

public class Catalog extends CatalogTemplate implements SqlQuery
Description of the Class
See Also:
  • Constructor Details

    • Catalog

      public Catalog(CatalogTemplate catTemplate, List rows)
      Constructor for the Catalog object
      Parameters:
      catTemplate - Description of Parameter
      rows - Description of Parameter
  • Method Details

    • addListener

      public void addListener(CatalogListener l)
    • removeListener

      public void removeListener(CatalogListener l)
    • set

      public void set(List oldRow, List newRow)
      Description of the Method
      Parameters:
      oldRow - Description of Parameter
      newRow - Description of Parameter
    • set

      public void set(int index, List row)
      Description of the Method
      Parameters:
      index - Description of Parameter
      row - Description of Parameter
    • getRowIndex

      public int getRowIndex(List row)
    • getRow

      public List getRow(int idx)
      Gets the Row attribute of the Catalog object
      Parameters:
      idx - Description of Parameter
      Returns:
      The Row value
    • size

      public int size()
    • getRows

      public List getRows()
    • merge

      public void merge(Catalog cat)
    • add

      public boolean add(List row)
      Description of the Method
      Parameters:
      row - Description of Parameter
    • contains

      public boolean contains(List row, boolean caseSensitive)
    • remove

      public boolean remove(int listColumn, int thisColumn, List list)
    • remove

      public boolean remove(List row)
      Description of the Method
      Parameters:
      row - Description of Parameter
      Returns:
      Description of the Returned Value
    • update

      public boolean update(List oldRow, List newRow)
    • update

      public boolean update(List oldList, List newList, int listColumn, int thisColumn)
    • executeQuery

      public Catalog executeQuery(CatalogTemplate catalogTemplate) throws SQLException
      Description of the Method
      Parameters:
      catalogTemplate - Description of Parameter
      Returns:
      Description of the Returned Value
      Throws:
      SQLException - Description of Exception
    • fireRowRemoved

      protected void fireRowRemoved(Object source, int row)
    • fireRowUpdated

      protected void fireRowUpdated(Object source, int firstRow, int lastRow)
    • fireRowAdded

      protected void fireRowAdded(Object source, int row)
    • reOrder

      public void reOrder()
      Description of the Method
    • needToReOrder

      public boolean needToReOrder()
    • getNumVisibleColumns

      public int getNumVisibleColumns()
    • getVisible

      public boolean[] getVisible()