|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.util.MapGroup
uk.ac.starlink.table.ValueInfoMapGroup
A MapGroup which describes a set of
ValueInfo
objects.
Field Summary | |
static String |
CLASS_KEY
|
static String |
DESCRIPTION_KEY
|
static String |
INDEX_KEY
|
static String |
NAME_KEY
|
static String |
NULLABLE_KEY
|
static String |
SHAPE_KEY
|
static String |
UCD_DESCRIPTION_KEY
|
static String |
UCD_KEY
|
static String |
UNITS_KEY
|
static String |
VALUE_KEY
|
Constructor Summary | |
ValueInfoMapGroup()
Constructs a new ValueInfoMapGroup. |
|
ValueInfoMapGroup(StarTable startab)
Constructs a ValueInfoMapGroup based on the column information in a StarTable. |
Method Summary | |
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 Map |
makeMap(ColumnInfo colinfo)
Returns a new Map representing a ColumnInfo object. |
static Map |
makeMap(DescribedValue dval)
Returns a new Map representing a DescribedValue object. |
static Map |
makeMap(ValueInfo info)
Returns a new Map representing a ValueInfo object. |
Methods inherited from class uk.ac.starlink.util.MapGroup |
addMap, getKeyOrder, getKnownKeys, getMaps, removeKey, removeKeys, retainKeys, setKeyOrder, setKnownKeys, size |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String INDEX_KEY
public static final String NAME_KEY
public static final String VALUE_KEY
public static final String CLASS_KEY
public static final String SHAPE_KEY
public static final String UNITS_KEY
public static final String DESCRIPTION_KEY
public static final String UCD_KEY
public static final String UCD_DESCRIPTION_KEY
public static final String NULLABLE_KEY
Constructor Detail |
public ValueInfoMapGroup()
public ValueInfoMapGroup(StarTable startab)
addTableColumns(uk.ac.starlink.table.StarTable)
.
startab
- the StarTable to base it onMethod Detail |
public 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 Map makeMap(ColumnInfo colinfo)
colinfo
- the ColumnInfo to make a map from
public static Map makeMap(ValueInfo info)
info
- the ValuInfo to make a map from
public static Map makeMap(DescribedValue dval)
dval
- the DescribedValue to make a map from
|
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 |