se.optimatika.jexcel.database
Class Column<T>

java.lang.Object
  extended by se.optimatika.jexcel.database.Column<T>
Direct Known Subclasses:
BooleanColumn, DateColumn, NumberColumn, StringColumn

public abstract class Column<T>
extends Object


Constructor Summary
Column(String aName, TypeContext<T> aContext)
           
 
Method Summary
 void add(int index, T anObject)
           
 boolean add(T anObject)
           
 T get(int index)
           
abstract  T getCellValue(Spreadsheet aSheet)
           
 List<T> getData()
           
 String getName()
           
 TypeContext<T> getTypeContext()
           
 int indexOf(T anObject)
           
 T remove(int index)
           
 T set(int index, T anObject)
           
abstract  void setCellValue(Spreadsheet aSheet, T aCellValue)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Column

public Column(String aName,
              TypeContext<T> aContext)
Method Detail

add

public void add(int index,
                T anObject)

add

public boolean add(T anObject)

get

public T get(int index)

getCellValue

public abstract T getCellValue(Spreadsheet aSheet)

getData

public List<T> getData()

getName

public String getName()

getTypeContext

public TypeContext<T> getTypeContext()

indexOf

public int indexOf(T anObject)

remove

public T remove(int index)

set

public T set(int index,
             T anObject)

setCellValue

public abstract void setCellValue(Spreadsheet aSheet,
                                  T aCellValue)