Interface MetaRecord

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

Synopsis

 public interface MetaRecord {
  public Object getValue(int column);
  public String getColumnName(int column);
  public Sequence getRecords();
}

Inheritance Path. org.kaiwitte.workbench.data.MetaRecord

getColumnName(int)

Synopsis: public String getColumnName(int column);

Parameters

column

the column id

return

the name of the column

Returns the name of the column.

getRecords()

Synopsis: public Sequence getRecords();

Parameters

return

the records that back this instance

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

getValue(int)

Synopsis: public Object getValue(int column);

Parameters

column

the column

return

the value at the specified column

Exceptions

IndexOutOfBoundsException

iff the column value is > the associated org.kaiwitte.workbench.data.MetaScheme's length - 1 or < 0,

Returns the value at the specified column.