Class MutableRecordImpl

Default implementation of a org.kaiwitte.workbench.data.MutableRecord.

Synopsis

 public class MutableRecordImplimplements MutableRecord {
  public MutableRecordImpl(long id,
                           DataScheme scheme,
                           java.lang.Object[] fields);

  public MutableRecordImpl(DataScheme scheme,
                           java.lang.Object[] fields);

  public void setValue(int fieldNumber,
                       Object fieldValue);

  public long getID();
  public Object getValue(int fieldNumber);
  public DataScheme getScheme();
  public int hashCode();
  public boolean equals(Object obj);
  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.MutableRecordImpl

MutableRecordImpl(DataScheme, Object[])

Synopsis: public MutableRecordImpl(org.kaiwitte.workbench.data.DataScheme s\
cheme,

                                   java.lang.Object[] fields);

Parameters

scheme

the data scheme that describes this record's structure

fields

the content

Creates a new instance.

MutableRecordImpl(long, DataScheme, Object[])

Synopsis: public MutableRecordImpl(long id, 
                                   org.kaiwitte.workbench.data.DataScheme s\
cheme, 
                                   java.lang.Object[] fields);

Parameters

id

the id of the record

scheme

the data scheme that describes this record's structure

fields

the content

Creates a new instance.