org.axiondb.engine.rows
Class SimpleRow

java.lang.Object
  extended by org.axiondb.engine.rows.BaseRow
      extended by org.axiondb.engine.rows.SimpleRow
All Implemented Interfaces:
Serializable, Row

public class SimpleRow
extends BaseRow
implements Serializable

A simple implementation of Row.

Version:
$Revision: 1.1 $ $Date: 2004/08/07 10:14:40 $
See Also:
Serialized Form

Constructor Summary
SimpleRow(int size)
           
SimpleRow(int id, int size)
           
SimpleRow(Object[] values)
           
SimpleRow(Row that)
           
 
Method Summary
 Object get(int i)
          Get the value of field i.
 void set(int i, Object val)
          Set the value of field i to val.
 int size()
          Return the number of fields I contain.
 
Methods inherited from class org.axiondb.engine.rows.BaseRow
equals, getIdentifier, hashCode, setIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleRow

public SimpleRow(Row that)

SimpleRow

public SimpleRow(Object[] values)

SimpleRow

public SimpleRow(int id,
                 int size)

SimpleRow

public SimpleRow(int size)
Method Detail

get

public Object get(int i)
Get the value of field i. Note that the index is zero-based.

Specified by:
get in interface Row

set

public void set(int i,
                Object val)
Set the value of field i to val. Note that the index is zero-based.

Specified by:
set in interface Row

size

public int size()
Return the number of fields I contain.

Specified by:
size in interface Row