com.ebay.carad.os.vitalsigns
Class DashboardReportContainer
java.lang.Object
com.ebay.carad.os.vitalsigns.DashboardReportContainer
- All Implemented Interfaces:
- IDashboardReportContainer, java.lang.Comparable
public class DashboardReportContainer
- extends java.lang.Object
- implements java.lang.Comparable, IDashboardReportContainer
Basic implementation of IDashboardReportContainer for grouping arbitrary reports.
- Version:
- $Id$
- Author:
- Jeremy Thomerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mReports
private java.util.List mReports
mSortOrder
private int mSortOrder
mGroupName
private java.lang.String mGroupName
DashboardReportContainer
public DashboardReportContainer()
getReports
public java.util.List getReports()
- Description copied from interface:
IDashboardReportContainer
- Returns an iterator over zero or more
IDashboardReport
objects.
- Specified by:
getReports
in interface IDashboardReportContainer
- Returns:
- a list of
IDashboardReport
objects.
getSortOrder
public int getSortOrder()
- Description copied from interface:
IDashboardReportContainer
- Defines the sort order of this container's report(s).
- Specified by:
getSortOrder
in interface IDashboardReportContainer
- Returns:
- a sort order for ordering reports
getGroupName
public java.lang.String getGroupName()
- Specified by:
getGroupName
in interface IDashboardReportContainer
- Returns:
- the name of the group that these reports should appear in,
or null if they should appear individually
compareTo
public int compareTo(java.lang.Object obj)
- Specified by:
compareTo
in interface java.lang.Comparable
setGroupName
public void setGroupName(java.lang.String groupName)
- Parameters:
groupName
- The groupName to set.
setReports
public void setReports(java.util.List reports)
- Parameters:
reports
- The reports to set.
addReport
public void addReport(IDashboardReport report)
setSortOrder
public void setSortOrder(int sortOrder)
- Parameters:
sortOrder
- The sortOrder to set.
Copyright © 2004-2009. All Rights Reserved.