Package org.djutils.data
Interface DataRecord
- 
- All Known Implementing Classes:
 ListDataTable.ListRecord
public interface DataRecordConsistent set of values corresponding to columns.Copyright (c) 2020-2021 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.- Author:
 - Alexander Verbraeck, Peter Knoppers
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetValue(String id)Returns the column value of this record.<T> TgetValue(DataColumn<T> column)Returns the column value of this record.Object[]getValues()Returns the column values of this record in the natural order of the columns. 
 - 
 
- 
- 
Method Detail
- 
getValue
<T> T getValue(DataColumn<T> column)
Returns the column value of this record.- Type Parameters:
 T- value type- Parameters:
 column- DataColumn<T>; column- Returns:
 - T; the column value in this record
 
 
- 
getValue
Object getValue(String id)
Returns the column value of this record.- Parameters:
 id- String; column id- Returns:
 - Object; the column value in this record
 
 
- 
getValues
Object[] getValues()
Returns the column values of this record in the natural order of the columns.- Returns:
 - the column value in this record
 
 
 - 
 
 -