org.axiondb

Class RowDecorator

public class RowDecorator extends Object

A Rowwith meta-information. (Note that we've intentionally not implemented Row here. Row and RowDecorator have different contracts. A reference to a Row is somewhat persistent--it can be added to a Collection, for example. A RowDecorator changes all the time.)

Version: $Revision: 1.18 $ $Date: 2006/01/10 21:02:37 $

Author: Rodney Waldhoff Ahimanikya Satapathy

Constructor Summary
RowDecorator(Map selectableToFieldMap)
Method Summary
Objectget(ColumnIdentifier colid)
Returns the value of the specified column.
RowgetRow()
Gets the RowI'm currently decorating.
intgetRowIndex()
IteratorgetSelectableIterator()
Gets the selectable To Field Iterator
voidsetRow(int rowndx, Row row)
Sets the RowI'm currently decorating.
voidsetRow(Row row)
Sets the RowI'm currently decorating.

Constructor Detail

RowDecorator

public RowDecorator(Map selectableToFieldMap)

Method Detail

get

public Object get(ColumnIdentifier colid)
Returns the value of the specified column.

getRow

public Row getRow()
Gets the RowI'm currently decorating.

getRowIndex

public int getRowIndex()

getSelectableIterator

public Iterator getSelectableIterator()
Gets the selectable To Field Iterator

setRow

public void setRow(int rowndx, Row row)
Sets the RowI'm currently decorating.

setRow

public void setRow(Row row)
Sets the RowI'm currently decorating.