org.tigris.scarab.reports
Class ReportGroup

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

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

Version:
$Id: ReportGroup.java 7498 2003-03-28 00:00:16Z jon $
Author:
John McNally
See Also:
Serialized Form

Constructor Summary
ReportGroup()
           
 
Method Summary
 void addReportOptionAttribute(ReportOptionAttribute newReportOptionAttribute)
          Add a ReportOptionAttribute value.
 void addReportUserAttribute(ReportUserAttribute newReportUserAttribute)
          Add a ReportUserAttribute value.
 boolean equals(java.lang.Object obj)
          A group is considered equal if it has the same name.
 java.lang.String getName()
          Get the Name value.
 java.lang.String getQueryKey()
          Get the QueryKey value.
 java.util.List getReportOptionAttributes()
          Get the ReportOptionAttributes value.
 java.util.List getReportUserAttributes()
          Get the ReportUserAttributes value.
 int hashCode()
           
 void reset()
          sets the option and user lists to null.
 void setName(java.lang.String newName)
          Set the Name value.
 void setQueryKey(java.lang.String newQueryKey)
          Set the QueryKey value.
 void setReportOptionAttributes(java.util.List newReportOptionAttributes)
          Set the ReportOptionAttributes value.
 void setReportUserAttributes(java.util.List newReportUserAttributes)
          Set the ReportUserAttributes value.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportGroup

public ReportGroup()
Method Detail

getName

public java.lang.String getName()
Get the Name value.

Returns:
the Name value.

setName

public void setName(java.lang.String newName)
Set the Name value.

Parameters:
newName - The new Name 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.

reset

public void reset()
sets the option and user lists to null. does not affect name.


equals

public boolean equals(java.lang.Object obj)
A group is considered equal if it has the same name. As the name should be unique, there is no need to compare the option/user lists.

Parameters:
obj - an Object value
Returns:
a boolean value

hashCode

public int hashCode()

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.