br.com.oncast.dev.lobo.eval.bean
Class ProfileReport

java.lang.Object
  extended by br.com.oncast.dev.lobo.eval.bean.ProfileReport

public class ProfileReport
extends java.lang.Object

Root bean of the profile reporting bean tree.


Constructor Summary
ProfileReport()
           
 
Method Summary
 void addCase(ProfileCase caze)
          Adds a case to the ProfileReport.
 ProfileCase getCase(java.lang.String caseClass)
          Returns a previously added case given its caseClass.
 java.util.Collection<ProfileCase> getCases()
          Returns all the cases in the report.
It is guaranteed that the returned collection of ProfileCases will iterate over them in the insertion order.
 void removeCase(ProfileCase caze)
          Removes a case from the report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileReport

public ProfileReport()
Method Detail

addCase

public void addCase(ProfileCase caze)
Adds a case to the ProfileReport.

Parameters:
caze - the case to be added.

getCase

public ProfileCase getCase(java.lang.String caseClass)
Returns a previously added case given its caseClass.

Parameters:
caseClass - the case class name.
Returns:
the case for the caseClass or null if it could not be found.

getCases

public java.util.Collection<ProfileCase> getCases()
Returns all the cases in the report.
It is guaranteed that the returned collection of ProfileCases will iterate over them in the insertion order.

Returns:
all the cases in the case.

removeCase

public void removeCase(ProfileCase caze)
Removes a case from the report.

Parameters:
caze - the case to be removed.