org.axiondb

Interface Row

public interface Row

Contains the data for a single row in a table, view, result set, etc.

Version: $Revision: 1.15 $ $Date: 2004/08/27 03:21:21 $

Author: Rodney Waldhoff Ahimanikya Satapathy

Method Summary
booleanequals(Object that)
Returns true iff that is a Row with the same number of fields and each is equal to the corresponding field in me.
Objectget(int i)
Returns the value of the field at i (zero indexed).
intgetIdentifier()
inthashCode()
Return a hash code for me, in keeping with the generic Object#hashCode contract.
voidset(int i, Object val)
Sets the value of the field at i (zero indexed).
voidsetIdentifier(int id)
intsize()
Returns the number of fields in me.

Method Detail

equals

public boolean equals(Object that)
Returns true iff that is a Row with the same number of fields and each is equal to the corresponding field in me.

Adheres to the generic Object#equalscontract.

get

public Object get(int i)
Returns the value of the field at i (zero indexed).

getIdentifier

public int getIdentifier()

hashCode

public int hashCode()
Return a hash code for me, in keeping with the generic Object#hashCode contract.

set

public void set(int i, Object val)
Sets the value of the field at i (zero indexed). This operation is optional.

setIdentifier

public void setIdentifier(int id)

size

public int size()
Returns the number of fields in me.