Class SummaryData

java.lang.Object
com.portal.browse.SummaryData
All Implemented Interfaces:
Serializable

public class SummaryData extends Object implements Serializable
this class is common between the Summary View and the controller and is used to pass around information.
Version:
%version: 3 % %date_modified: Wed May 24 09:40:59 2000 %
Author:
lalita
See Also:
  • Constructor Details

    • SummaryData

      public SummaryData(HistoryItem[] items)
      Creates an instance of this class.
      Parameters:
      items - an array of HistoryItem
  • Method Details

    • getData

      public Vector getData()
      This method returns a vector that contains all the data that needs to be displayed in the summary table.
      Returns:
      data to be displayed in the table
    • getColumnNames

      public Vector getColumnNames()
      This method returns a vector of the column headings of the summary table.
      Returns:
      an array of column names
    • setData

      public void setData(Vector data)
      This method is used by the controller class to assign the data of the summary table.
      Parameters:
      data - the data to display in the table
    • setColumnNames

      public void setColumnNames(Vector headers)
      This method is used by the controller to assign the column headings of the summary table.
      Parameters:
      headers - the list of column headers
    • getHistoryItems

      public HistoryItem[] getHistoryItems()
      This method is used by the controller to get to the array of HistoryItems passed in by the view.
      Returns:
      an array of HistoryItems