public class WrapperColumn extends ColumnData
Constructor and Description |
---|
WrapperColumn(ColumnData base)
Initialises a new WrapperColumn based on a base column.
|
Modifier and Type | Method and Description |
---|---|
ColumnData |
getBaseColumn()
Returns the column on which this one is based.
|
boolean |
isWritable()
Indicates whether this object can store values.
|
java.lang.Object |
readValue(long irow)
Returns the value stored at a given row in this column.
|
void |
storeValue(long irow,
java.lang.Object val)
Stores a given value in a given row for this column.
|
getColumnInfo, setColumnInfo
public WrapperColumn(ColumnData base)
base
- the base columnpublic java.lang.Object readValue(long irow) throws java.io.IOException
ColumnData
readValue
in class ColumnData
irow
- the row from which to retrieve the valuejava.io.IOException
- if there is some problem readingpublic void storeValue(long irow, java.lang.Object val) throws java.io.IOException
ColumnData
storeValue
in class ColumnData
irow
- the row to store it inval
- the object to storejava.io.IOException
- if there is some problem writingpublic boolean isWritable()
ColumnData
isWritable
in class ColumnData
ColumnData.storeValue(long, java.lang.Object)
can be usedpublic ColumnData getBaseColumn()