org.kaiwitte.workbench.data
Interface MetaRecord

All Known Subinterfaces:
MutableMetaRecord
All Known Implementing Classes:
MetaRecordImpl, MutableMetaRecordImpl

public interface MetaRecord

A record that combines related records. E. g. a repair request (primary record) is made by a customer (secondary record).

See Also:
MetaScheme

Method Summary
 java.lang.String getColumnName(int column)
          Returns the name of the column.
 Record[] getRecords()
          Returns all records.
 java.lang.Object getValue(int column)
          Returns the value at the specified column.
 

Method Detail

getValue

java.lang.Object getValue(int column)
Returns the value at the specified column.

Parameters:
column - the column
Returns:
the value at the specified column
Throws:
java.lang.IndexOutOfBoundsException - iff the column value is > the associated MetaScheme's length - 1 or < 0,

getColumnName

java.lang.String getColumnName(int column)
Returns the name of the column.

Parameters:
column - the column id
Returns:
the name of the column

getRecords

Record[] getRecords()
Returns all records. The first one in the array is the primary one (e. g. of type repair request).

Returns:
the records that back this instance