public class MetaCopyStarTable extends WrapperStarTable
baseTable
Constructor and Description |
---|
MetaCopyStarTable(StarTable base)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ColumnInfo |
getColumnInfo(int icol)
Returns the object describing the data in a given column.
|
String |
getName()
Returns the name of this table, if it has one.
|
DescribedValue |
getParameterByName(String name)
Returns a parameter (table-wide metadata item) of this table located
by its name.
|
List<DescribedValue> |
getParameters()
Returns a list of table parameters, that is metadata items
which pertain to the entire table.
|
URL |
getURL()
Initially returns
null to indicate that this table
itself is not persistent. |
void |
setColumnInfo(int icol,
ColumnInfo colInfo) |
void |
setName(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(List<DescribedValue> paramList) |
void |
setURL(URL url)
Sets the URL of this table.
|
checkedLongToInt, close, getBaseTable, getCell, getColumnAuxDataInfos, getColumnCount, getRow, getRowAccess, getRowCount, getRowSequence, getRowSplittable, isRandom, toString
public MetaCopyStarTable(StarTable base)
base
- base tablepublic String getName()
StarTable
getName
in interface StarTable
getName
in class WrapperStarTable
null
if no suitable one
existspublic void setName(String name)
StarTable
name
should provide the return value for subsequent calls of
StarTable.getName()
.setName
in interface StarTable
setName
in class WrapperStarTable
name
- table namepublic URL getURL()
WrapperStarTable
null
to indicate that this table
itself is not persistent.getURL
in interface StarTable
getURL
in class WrapperStarTable
null
if none is knownpublic void setURL(URL url)
StarTable
url
.
If called, the supplied url
should provide the return
value for subsequent calls of StarTable.getURL()
.setURL
in interface StarTable
setURL
in class WrapperStarTable
url
- table URLpublic List<DescribedValue> getParameters()
StarTable
getParameters
in interface StarTable
getParameters
in class WrapperStarTable
List
of DescribedValue
objects
constituting table-wide metadata not covered elsewhere
in this interfacepublic void setParameters(List<DescribedValue> paramList)
public DescribedValue getParameterByName(String name)
StarTable
null
will be returned.getParameterByName
in interface StarTable
getParameterByName
in class WrapperStarTable
name
- the name of the table parameter requiredpublic void setParameter(DescribedValue dval)
StarTable
setParameter
in interface StarTable
setParameter
in class WrapperStarTable
dval
- the new parameter datum to addpublic ColumnInfo getColumnInfo(int icol)
StarTable
getColumnInfo
in interface StarTable
getColumnInfo
in class WrapperStarTable
icol
- the column for which header information is requiredicol
public void setColumnInfo(int icol, ColumnInfo colInfo)
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.