| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--planetj.database.report.ReportBreakCollection
A grouping of ReportBreaks
| Constructor Summary | |
ReportBreakCollection()
ReportBreakCollection constructor  | 
|
| Method Summary | |
 ReportBreak | 
addNewReportBreak(String pColumnFunctionToken,
                  List pFieldNames,
                  String pBreakColumnName,
                  boolean pAddOverall)
Creates a new ReportBreak and adds it to this ReportBreakCollection.  | 
 boolean | 
addReportBreak(ReportBreak pRB)
Adds a ReportBreak to this ReportBreakCollection, but only if it isn't already present.  | 
 boolean | 
addReportBreak(ReportBreak pRB,
               int pIndex)
Adds a ReportBreak to this ReportBreakCollection at the specified index, but only if it isn't already present.  | 
static ReportBreakCollection | 
createReportBreakCollection(PropertyGroupList pProperties)
Creates a new ReportBreakCollection from a PropertyGroupList containing properties which specify a ReportBreakCollection.  | 
 boolean | 
equals(Object o)
Tests if this ReportBreakCollection and another ReportBreakCollection contain equivalent report breaks  | 
 List | 
getReportBreaks()
Gets the unmodifiable List of ReportBreaks.  | 
 int | 
hashCode()
Returns a hashCode for this ReportBreakCollection.  | 
 int | 
indexOf(ReportBreak pRB)
Returns the index of the ReportBreak among *ALL* report breaks in this ReportBreakCollection, or -1 if the ReportBreak is not part of this ReportBreakCollection  | 
 Iterator | 
iterator()
Returns an iterator over the ReportBreaks.  | 
 void | 
reset()
Clears all values from all of the column functions  | 
 int | 
size()
Returns the total number of ReportBreaks  | 
| Methods inherited from class java.lang.Object | 
getClass, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ReportBreakCollection()
| Method Detail | 
public ReportBreak addNewReportBreak(String pColumnFunctionToken,
                                     List pFieldNames,
                                     String pBreakColumnName,
                                     boolean pAddOverall)
                              throws DataEngineException
pColumnFunctionToken - One of the constants defined in the ColumnFuntionToken class indicating
	what column function the ReportBreak should use for its reportspFieldNames - A List of field names indicating the columns for which reports should
	be generatedpBreakColumnName - The name of the column which will be monitored for breaks, or null if the
	ReportBreak should be an OverallReportBreakpAddOverall - Whether or not an OverallReportBreak should also be generated and added with
	the same column function and field descriptors.  This parameter is ignored if the ReportBreak
	being created is already an OverallReportBreak
DataEngineExceptionpublic boolean addReportBreak(ReportBreak pRB)
pRB - The ReportBreak to add
public boolean addReportBreak(ReportBreak pRB,
                              int pIndex)
pRB - The ReportBreak to addpIndex - The index to add the report break at.  If this ReportBreakCollection contains X normal
	ReportBreaks, and Y OverallReportBreaks, then a normal ReportBreak can only be added at indices
	0 to X and an OverallReportBreak can only be added at indices X to X + Y.
public static ReportBreakCollection createReportBreakCollection(PropertyGroupList pProperties)
                                                         throws DataEngineException
DataEngineExceptionpublic boolean equals(Object o)
equals in class Objectpublic List getReportBreaks()
public int hashCode()
hashCode in class Objectpublic int indexOf(ReportBreak pRB)
public Iterator iterator()
public void reset()
public int size()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||