Default implementation of a org.kaiwitte.workbench.data.MetaRecord
.
public class MetaRecordImplimplements MetaRecord {public MetaRecordImpl(org.kaiwitte.workbench.data.Record[] records);
public MetaRecordImpl(MetaScheme metaScheme,
java.lang.Object[] values);public Object getValue(int column);
public String getColumnName(int column);
public Record getRecords();
public String toString();
}
Methods inherited from java.lang.Object:
clone
, equals
, finalize
, getClass
, hashCode
, notify
, notifyAll
, toString
, wait
Inheritance Path. java.lang.Object-> org.kaiwitte.workbench.data.MetaRecordImpl
Synopsis: public MetaRecordImpl(org.kaiwitte.workbench.data.MetaScheme meta\ Scheme, java.lang.Object[] values);
Parameters
values
the values for this record
Creates a new instance.
Synopsis: public MetaRecordImpl(org.kaiwitte.workbench.data.Record[] record\ s);
Parameters
records
the records to be wrapped
Creates a new instance.
Synopsis: public String getColumnName(int column);
Specified by: Method getColumnName in interface MetaRecord
Parameters
column
the column id
the name of the column
Returns the name of the column.
Synopsis: public Record[] getRecords();
Specified by: Method getRecords in interface MetaRecord
Parameters
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).
Synopsis: public Object getValue(int column);
Specified by: Method getValue in interface MetaRecord
Parameters
column
the column
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.