SPT RWT Application API

com.sptci.rwt
Class Row

java.lang.Object
  extended by com.sptci.rwt.Row
All Implemented Interfaces:
Serializable

public class Row
extends Object
implements Serializable

A simple value object that represents a row in a ResultSet.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: Row.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-10-02
See Also:
Serialized Form

Field Summary
private  List<Column> columns
          The collection of Column instances contained in this row.
 
Constructor Summary
Row()
           
 
Method Summary
protected  void addColumn(Column column)
          Add the specified column to columns collection.
 List<Column> getColumns()
          Returns columns.
protected  void setColumns(List<Column> columns)
          Set columns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columns

private List<Column> columns
The collection of Column instances contained in this row.

Constructor Detail

Row

public Row()
Method Detail

getColumns

public List<Column> getColumns()
Returns columns.

Returns:
The value/reference of/to columns.

setColumns

protected void setColumns(List<Column> columns)
Set columns.

Parameters:
columns - The value to set.

addColumn

protected void addColumn(Column column)
Add the specified column to columns collection.

Parameters:
column - The column to be added.

SPT RWT Application API