org.kaiwitte.workbench.data
Interface Record

All Known Subinterfaces:
MutableRecord
All Known Implementing Classes:
MutableRecordImpl

public interface Record

A record. Implementation note: A record is backed by a row in an SQL table of the associated DataScheme.


Method Summary
 long getID()
          Returns the ID.
 DataScheme getScheme()
          Returns the associated scheme.
 java.lang.Object getValue(int fieldNumber)
          Returns the value.
 

Method Detail

getID

long getID()
Returns the ID.

Returns:
the id

getValue

java.lang.Object getValue(int fieldNumber)
Returns the value.

Parameters:
fieldNumber - the index
Returns:
the content at the index.

getScheme

DataScheme getScheme()
Returns the associated scheme.

Returns:
the scheme