|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.table.ColumnData
uk.ac.starlink.table.WrapperColumn
public class WrapperColumn
ColumnData which wraps another ColumnData. The behaviour of this ColumnData is identical to that of the base one. It is intended for subclasses which may modify the behaviour in some way.
Constructor Summary | |
---|---|
WrapperColumn(ColumnData base)
Initialises a new WrapperColumn based on a base column. |
Method Summary | |
---|---|
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. |
Methods inherited from class uk.ac.starlink.table.ColumnData |
---|
getColumnInfo, setColumnInfo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WrapperColumn(ColumnData base)
base
- the base columnMethod Detail |
---|
public java.lang.Object readValue(long irow) throws java.io.IOException
ColumnData
readValue
in class ColumnData
irow
- the row from which to retrieve the value
java.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 store
java.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()
|
Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |