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, toStringpublic MetaCopyStarTable(StarTable base)
base - base tablepublic java.lang.String getName()
StarTablegetName in interface StarTablegetName in class WrapperStarTablenull if no suitable one
existspublic void setName(java.lang.String name)
StarTablename
should provide the return value for subsequent calls of
StarTable.getName().setName in interface StarTablesetName in class WrapperStarTablename - table namepublic java.net.URL getURL()
WrapperStarTablenull to indicate that this table
itself is not persistent.getURL in interface StarTablegetURL in class WrapperStarTablenull if none is knownpublic void setURL(java.net.URL url)
StarTableurl.
If called, the supplied url should provide the return
value for subsequent calls of StarTable.getURL().setURL in interface StarTablesetURL in class WrapperStarTableurl - table URLpublic java.util.List<DescribedValue> getParameters()
StarTablegetParameters in interface StarTablegetParameters in class WrapperStarTableList 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)
StarTablenull will be returned.getParameterByName in interface StarTablegetParameterByName in class WrapperStarTablename - the name of the table parameter requiredpublic void setParameter(DescribedValue dval)
StarTablesetParameter in interface StarTablesetParameter in class WrapperStarTabledval - the new parameter datum to addpublic ColumnInfo getColumnInfo(int icol)
StarTablegetColumnInfo in interface StarTablegetColumnInfo in class WrapperStarTableicol - the column for which header information is requiredicolpublic void setColumnInfo(int icol,
ColumnInfo colInfo)