public class ReporterScoreQueryWrapper extends Object implements QueryWrapper<ReporterScore>
ReporterScoreQuery
:s.Modifier and Type | Field and Description |
---|---|
private ReporterScoreQuery |
query |
Constructor and Description |
---|
ReporterScoreQueryWrapper(ReporterScoreQuery query)
Create a new query wrapper.
|
Modifier and Type | Method and Description |
---|---|
Object |
getData(DbControl dc,
ExportedProperty exportedProperty,
ReporterScore item)
Uses a
Metadata object to get the value of the specified property. |
int |
getId(ReporterScore item)
Calls
BasicData.getId() . |
ResultIterator<ReporterScore> |
iterate(DbControl dc)
|
private final ReporterScoreQuery query
public ReporterScoreQueryWrapper(ReporterScoreQuery query)
query
- The querypublic ResultIterator<ReporterScore> iterate(DbControl dc)
iterate
in interface QueryWrapper<ReporterScore>
public int getId(ReporterScore item)
BasicData.getId()
.getId
in interface QueryWrapper<ReporterScore>
item
- The itempublic Object getData(DbControl dc, ExportedProperty exportedProperty, ReporterScore item) throws Exception
Metadata
object to get the value of the specified property.getData
in interface DataLoader<ReporterScore>
exportedProperty
- The property to get the value foritem
- The item that holds the valueException
- If failing to get the data.