org.axiondb
Class RowDecorator

java.lang.Object
  extended by org.axiondb.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 $

Constructor Summary
RowDecorator(Map selectableToFieldMap)
           
 
Method Summary
 Object get(ColumnIdentifier colid)
          Returns the value of the specified column.
 Row getRow()
          Gets the RowI'm currently decorating.
 int getRowIndex()
           
 Iterator getSelectableIterator()
          Gets the selectable To Field Iterator
 void setRow(int rowndx, Row row)
          Sets the RowI'm currently decorating.
 void setRow(Row row)
          Sets the RowI'm currently decorating.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowDecorator

public RowDecorator(Map selectableToFieldMap)
Method Detail

get

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

Throws:
AxionException

getRow

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


getRowIndex

public int getRowIndex()
                throws AxionException
Throws:
AxionException

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.