org.tigris.scarab.reports
Class ReportHeading

java.lang.Object
  extended byorg.tigris.scarab.reports.ReportHeading
All Implemented Interfaces:
org.apache.fulcrum.intake.Retrievable, java.io.Serializable

public class ReportHeading
extends java.lang.Object
implements java.io.Serializable, org.apache.fulcrum.intake.Retrievable

Version:
$Id: ReportHeading.java 10132 2006-06-02 09:06:38Z dabbous $
Author:
John McNally
See Also:
Serialized Form

Constructor Summary
ReportHeading()
           
 
Method Summary
 void addReportDate(ReportDate newReportDate)
          Add a ReportDate value.
 void addReportDateRange(ReportDateRange newReportDateRange)
          Add a ReportDateRange value.
 void addReportGroup(ReportGroup newReportGroup)
          Add a ReportGroup value.
 void addReportOptionAttribute(ReportOptionAttribute newReportOptionAttribute)
          Add a ReportOptionAttribute value.
 void addReportUserAttribute(ReportUserAttribute newReportUserAttribute)
          Add a ReportUserAttribute value.
 int calculateType()
           
 java.util.List consolidateReportOptionAttributes()
          returns all the the ReportOptionAttributes involved in the heading including those in groups
 java.util.List consolidateReportUserAttributes()
          returns all the the ReportUserAttributes involved in the heading including those in groups
 java.lang.Object get(int i)
           
 java.lang.String getQueryKey()
          Get the QueryKey value.
 java.util.List getReportDateRanges()
          Get the ReportDateRanges value.
 java.util.List getReportDates()
          Get the ReportDates value.
 java.util.List getReportGroups()
          Get the ReportGroups value.
 java.util.List getReportOptionAttributes()
          Get the ReportOptionAttributes value.
 java.util.List getReportUserAttributes()
          Get the ReportUserAttributes value.
 void reset()
           
 java.util.List retrieveGroupedAttributes()
           
 void setQueryKey(java.lang.String newQueryKey)
          Set the QueryKey value.
 void setReportDateRanges(java.util.List newReportDateRanges)
          Set the ReportDateRanges value.
 void setReportDates(java.util.List newReportDates)
          Set the ReportDates value.
 void setReportGroups(java.util.List newReportGroups)
          Set the ReportGroups value.
 void setReportOptionAttributes(java.util.List newReportOptionAttributes)
          Set the ReportOptionAttributes value.
 void setReportUserAttributes(java.util.List newReportUserAttributes)
          Set the ReportUserAttributes value.
 boolean singleAttribute()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportHeading

public ReportHeading()
Method Detail

calculateType

public int calculateType()

retrieveGroupedAttributes

public java.util.List retrieveGroupedAttributes()

reset

public void reset()

get

public java.lang.Object get(int i)

size

public int size()

singleAttribute

public boolean singleAttribute()

consolidateReportOptionAttributes

public java.util.List consolidateReportOptionAttributes()
returns all the the ReportOptionAttributes involved in the heading including those in groups

Returns:
a List value

consolidateReportUserAttributes

public java.util.List consolidateReportUserAttributes()
returns all the the ReportUserAttributes involved in the heading including those in groups

Returns:
a List value

getReportGroups

public java.util.List getReportGroups()
Get the ReportGroups value.

Returns:
the ReportGroups value.

setReportGroups

public void setReportGroups(java.util.List newReportGroups)
Set the ReportGroups value.

Parameters:
newReportGroups - The new ReportGroups value.

addReportGroup

public void addReportGroup(ReportGroup newReportGroup)
Add a ReportGroup value.

Parameters:
newReportGroup - The new ReportGroup value.

getReportOptionAttributes

public java.util.List getReportOptionAttributes()
Get the ReportOptionAttributes value.

Returns:
the ReportOptionAttributes value.

setReportOptionAttributes

public void setReportOptionAttributes(java.util.List newReportOptionAttributes)
Set the ReportOptionAttributes value.

Parameters:
newReportOptionAttributes - The new ReportOptionAttributes value.

addReportOptionAttribute

public void addReportOptionAttribute(ReportOptionAttribute newReportOptionAttribute)
Add a ReportOptionAttribute value.

Parameters:
newReportOptionAttribute - The new ReportOptionAttribute value.

getReportUserAttributes

public java.util.List getReportUserAttributes()
Get the ReportUserAttributes value.

Returns:
the ReportUserAttributes value.

setReportUserAttributes

public void setReportUserAttributes(java.util.List newReportUserAttributes)
Set the ReportUserAttributes value.

Parameters:
newReportUserAttributes - The new ReportUserAttributes value.

addReportUserAttribute

public void addReportUserAttribute(ReportUserAttribute newReportUserAttribute)
Add a ReportUserAttribute value.

Parameters:
newReportUserAttribute - The new ReportUserAttribute value.

getReportDateRanges

public java.util.List getReportDateRanges()
Get the ReportDateRanges value.

Returns:
the ReportDateRanges value.

setReportDateRanges

public void setReportDateRanges(java.util.List newReportDateRanges)
Set the ReportDateRanges value.

Parameters:
newReportDateRanges - The new ReportDateRanges value.

addReportDateRange

public void addReportDateRange(ReportDateRange newReportDateRange)
Add a ReportDateRange value.

Parameters:
newReportDateRange - The new ReportDateRange value.

getReportDates

public java.util.List getReportDates()
Get the ReportDates value.

Returns:
the ReportDates value.

setReportDates

public void setReportDates(java.util.List newReportDates)
Set the ReportDates value.

Parameters:
newReportDates - The new ReportDates value.

addReportDate

public void addReportDate(ReportDate newReportDate)
Add a ReportDate value.

Parameters:
newReportDate - The new ReportDate value.

getQueryKey

public java.lang.String getQueryKey()
Get the QueryKey value.

Specified by:
getQueryKey in interface org.apache.fulcrum.intake.Retrievable
Returns:
the QueryKey value.

setQueryKey

public void setQueryKey(java.lang.String newQueryKey)
Set the QueryKey value.

Specified by:
setQueryKey in interface org.apache.fulcrum.intake.Retrievable
Parameters:
newQueryKey - The new QueryKey value.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.