Package net.sf.basedb.core
Class ReporterScore
- java.lang.Object
-
- 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: 2015-11-12 09:43:25 +0100 (to, 12 nov 2015) $
-
-
Field Summary
Fields Modifier and Type Field Description private ReporterListScoreData
data
-
Constructor Summary
Constructors Constructor Description ReporterScore(ReporterListScoreData data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (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.
-
-
-
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 useReporterList.addReporter(ReporterData, Float)
- Returns:
- The score or null
-
-