public class ValueInfoMapGroup
extends uk.ac.starlink.util.MapGroup
ValueInfo
objects.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CLASS_KEY |
|
static java.lang.String |
DESCRIPTION_KEY |
|
static java.lang.String |
INDEX_KEY |
|
static java.lang.String |
NAME_KEY |
|
static java.lang.String |
NULLABLE_KEY |
|
static java.lang.String |
SHAPE_KEY |
|
static java.lang.String |
UCD_DESCRIPTION_KEY |
|
static java.lang.String |
UCD_KEY |
|
static java.lang.String |
UNITS_KEY |
|
static java.lang.String |
VALUE_KEY |
Constructor | Description |
---|---|
ValueInfoMapGroup() |
Constructs a new ValueInfoMapGroup.
|
ValueInfoMapGroup(StarTable startab) |
Constructs a ValueInfoMapGroup based on the column
information in a StarTable.
|
Modifier and Type | Method | Description |
---|---|---|
void |
addColumnAuxDataKeys(StarTable startab) |
Adds the column auxiliary metadata keys associated with a
StarTable to this MapGroup's list of known keys.
|
void |
addDescribedValue(DescribedValue dval) |
Adds a new Map to the group which contains the metadata and value
in a DescribedValue object.
|
void |
addTableColumns(StarTable startab) |
Adds a Map to the group for each one of the ColumnInfo
objects in a StarTable.
|
void |
addValueInfo(ValueInfo info) |
Adds a new Map to the group which contains the metadata in a
ValueInfo object.
|
static java.util.Map |
makeMap(ColumnInfo colinfo) |
Returns a new Map representing a ColumnInfo object.
|
static java.util.Map |
makeMap(DescribedValue dval) |
Returns a new Map representing a DescribedValue object.
|
static java.util.Map |
makeMap(ValueInfo info) |
Returns a new Map representing a ValueInfo object.
|
public static final java.lang.String INDEX_KEY
public static final java.lang.String NAME_KEY
public static final java.lang.String VALUE_KEY
public static final java.lang.String CLASS_KEY
public static final java.lang.String SHAPE_KEY
public static final java.lang.String UNITS_KEY
public static final java.lang.String DESCRIPTION_KEY
public static final java.lang.String UCD_KEY
public static final java.lang.String UCD_DESCRIPTION_KEY
public static final java.lang.String NULLABLE_KEY
public ValueInfoMapGroup()
public ValueInfoMapGroup(StarTable startab)
addTableColumns(uk.ac.starlink.table.StarTable)
.startab
- the StarTable to base it onpublic void addValueInfo(ValueInfo info)
info
- the ValueInfo objectpublic void addDescribedValue(DescribedValue dval)
dval
- the DescribedValue objectpublic void addTableColumns(StarTable startab)
startab
- the table from which to add itemspublic void addColumnAuxDataKeys(StarTable startab)
startab
- the table whose aux column metadata keys will
be addedpublic static java.util.Map makeMap(ColumnInfo colinfo)
colinfo
- the ColumnInfo to make a map frompublic static java.util.Map makeMap(ValueInfo info)
info
- the ValuInfo to make a map frompublic static java.util.Map makeMap(DescribedValue dval)
dval
- the DescribedValue to make a map fromCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.