|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.starlink.table.WrapperStarTable
uk.ac.starlink.table.MetaCopyStarTable
public class MetaCopyStarTable
Wrapper table which makes deep copies of the table metadata, including column metadata and table parameters. Changes can safely be made to the metadata of this table without affecting the base table. Note that the metadata will not track changes in the column count of the base table.
| Field Summary |
|---|
| Fields inherited from class uk.ac.starlink.table.WrapperStarTable |
|---|
baseTable |
| Constructor Summary | |
|---|---|
MetaCopyStarTable(StarTable base)
Constructor. |
|
| Method Summary | |
|---|---|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column. |
java.lang.String |
getName()
Returns the name of this table, if it has one. |
DescribedValue |
getParameterByName(java.lang.String name)
Returns a parameter (table-wide metadata item) of this table located by its name. |
java.util.List |
getParameters()
Returns a list of table parameters, that is items which pertain to the entire table. |
java.net.URL |
getURL()
Initially returns null to indicate that this table itself is not persistent. |
void |
setColumnInfo(int icol,
ColumnInfo colInfo)
|
void |
setName(java.lang.String name)
Sets the name of this table. |
void |
setParameter(DescribedValue dval)
Adds the given DescribedValue to the list of parameter metadata objects associated with this table. |
void |
setParameters(java.util.List paramList)
|
void |
setURL(java.net.URL url)
Sets the URL of this table. |
| Methods inherited from class uk.ac.starlink.table.WrapperStarTable |
|---|
checkedLongToInt, getBaseTable, getCell, getColumnAuxDataInfos, getColumnCount, getRow, getRowCount, getRowSequence, isRandom, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetaCopyStarTable(StarTable base)
base - base table| Method Detail |
|---|
public java.lang.String getName()
StarTable
getName in interface StarTablegetName in class WrapperStarTablepublic void setName(java.lang.String name)
StarTableStarTable.getName().
setName in interface StarTablesetName in class WrapperStarTablename - table namepublic java.net.URL getURL()
WrapperStarTable
getURL in interface StarTablegetURL in class WrapperStarTablepublic void setURL(java.net.URL url)
StarTableStarTable.getURL().
setURL in interface StarTablesetURL in class WrapperStarTableurl - table URLpublic java.util.List getParameters()
StarTableDescribedValue object.
getParameters in interface StarTablegetParameters in class WrapperStarTablepublic void setParameters(java.util.List paramList)
public DescribedValue getParameterByName(java.lang.String name)
StarTable
getParameterByName in interface StarTablegetParameterByName in class WrapperStarTablename - the name of the table parameter requiredpublic void setParameter(DescribedValue dval)
StarTable
setParameter in interface StarTablesetParameter in class WrapperStarTabledval - the new parameter datum to addpublic ColumnInfo getColumnInfo(int icol)
StarTable
getColumnInfo in interface StarTablegetColumnInfo in class WrapperStarTableicol - the column for which header information is required
public void setColumnInfo(int icol,
ColumnInfo colInfo)
|
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 | ||||||||