public class DataQueryWrapper extends Object implements QueryWrapper<BasicData>
DataQuery
:s.Constructor and Description |
---|
DataQueryWrapper(DataQuery<BasicData> query)
Create a new query wrapper.
|
Modifier and Type | Method and Description |
---|---|
Object |
getData(DbControl dc,
ExportedProperty exportedProperty,
BasicData item)
Uses a
Metadata object to get the value of the specified property. |
int |
getId(BasicData item)
Calls
BasicData.getId() |
ResultIterator<BasicData> |
iterate(DbControl dc)
|
public ResultIterator<BasicData> iterate(DbControl dc)
iterate
in interface QueryWrapper<BasicData>
public int getId(BasicData item)
BasicData.getId()
getId
in interface QueryWrapper<BasicData>
item
- The itempublic Object getData(DbControl dc, ExportedProperty exportedProperty, BasicData item)
Metadata
object to get the value of the specified property.getData
in interface DataLoader<BasicData>
exportedProperty
- The property to get the value foritem
- The item that holds the value