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.
|
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<DescribedValue> |
getParameters()
Returns a list of table parameters, that is metadata 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<DescribedValue> paramList) |
void |
setURL(java.net.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 java.lang.String getName()
StarTable
getName
in interface StarTable
getName
in class WrapperStarTable
null
if no suitable one
existspublic void setName(java.lang.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 java.net.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(java.net.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 java.util.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(java.util.List<DescribedValue> paramList)
public DescribedValue getParameterByName(java.lang.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)