public class VizierDomTable extends Object implements VizierTable, Serializable
| Modifier and Type | Field and Description |
|---|---|
private List<Map<String,Object>> |
data
The data of the table.
|
static Map<String,Class<?>> |
DATATYPES
The look-up table matching VizieR datatype names to java classes.
|
private String |
description
The description of the table.
|
private Map<String,String> |
head
The description of the data.
|
private String |
id
The id of the table.
|
private String |
name
The name of the table.
|
private static long |
serialVersionUID |
private static Object[][] |
TYPES
Translation of VizieR data type to java classes.
|
| Modifier | Constructor and Description |
|---|---|
private |
VizierDomTable(Element tab)
Constructs the entire table from a
CDSConstants.TABLE element. |
| Modifier and Type | Method and Description |
|---|---|
static VizierTable |
createFromElement(Element tab) |
boolean |
equals(Object which)
Two tables are considerd equal if their ID's match, and their data is
identical, including the order.
|
List<Map<String,Object>> |
getData()
The accessor method to the data.
|
Map<String,String> |
getDataDescription()
The accessor method to the data description.
|
String |
getDescription()
The accessor method for the description.
|
String |
getID()
The accessor method for the table id.
|
String |
getName()
The accessor method for the table name.
|
int |
hashCode()
Hash code from table id.
|
String |
toString()
A simple string description of the table.
|
private static final long serialVersionUID
public static final Map<String,Class<?>> DATATYPES
private static final Object[][] TYPES
private String id
private String name
private String description
private VizierDomTable(Element tab)
CDSConstants.TABLE element.public static VizierTable createFromElement(Element tab)
public String getID()
getID in interface VizierTablepublic String getName()
getName in interface VizierTablepublic String getDescription()
getDescription in interface VizierTablepublic List<Map<String,Object>> getData()
getData in interface VizierTablepublic Map<String,String> getDataDescription()
getDataDescription in interface VizierTablepublic String toString()
public boolean equals(Object which)