2.17.2: 2011-06-17

net.sf.basedb.core
Class ReporterScore

java.lang.Object
  extended by net.sf.basedb.core.ReporterScore

public class ReporterScore
extends Object

Get information about the reporters and their score in a reporter list.

Version:
2.0
Author:
Nicklas
See Also:
ReporterList
Last modified
$Date: 2008-09-11 22:11:02 +0200 (Thu, 11 Sep 2008) $

Field Summary
private  ReporterListScoreData data
           
 
Constructor Summary
ReporterScore(ReporterListScoreData data)
           
 
Method Summary
(package private)  ReporterListScoreData getData()
           
static ReporterScoreQuery getQuery(ReporterList reporterList)
          Get a query object configured to retrieve reporters.
 ReporterData getReporter()
          Get the reporter.
 Float getScore()
          Get the score for this reporter or null if no score has been set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

private final ReporterListScoreData data
Constructor Detail

ReporterScore

ReporterScore(ReporterListScoreData data)
Method Detail

getQuery

public static ReporterScoreQuery getQuery(ReporterList reporterList)
Get a query object configured to retrieve reporters.

Returns:
A DataQuery object

getData

ReporterListScoreData getData()

getReporter

public ReporterData getReporter()
Get the reporter.

Returns:
A ReporterData object

getScore

public Float getScore()
Get the score for this reporter or null if no score has been set. To set the score use ReporterList.addReporter(ReporterData, Float)

Returns:
The score or null

2.17.2: 2011-06-17