|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.xml.Field
public final class Field
Field description according to the Astrores XML standard.
Field Summary | |
---|---|
java.lang.String |
arraysize
Number of characters, extension for VOTable compatibility |
boolean |
coo
true if it is a RA or DE field |
java.lang.String |
datatype
Datatype of field value (F-float, D-double, I-integer, S-short, A-ascii, L-boolean (logical), E-exponential) |
java.lang.String |
description
The description of the field |
java.lang.String |
gref
Template for the GLU link |
java.lang.String |
href
Template for the html link |
java.lang.String |
ID
Field Identifier |
java.lang.String |
name
The name of the field |
java.lang.String |
precision
Precision of field value: number of significant digits after the dot (ex: "3") |
java.lang.String |
ref
XML internal reference, typically for coordinate frame reference |
java.lang.String |
refText
Template for the text of the link |
java.lang.String |
refValue
link type |
int |
sort
Current sort on this field |
static int |
SORT_ASCENDING
|
static int |
SORT_DESCENDING
|
java.lang.String |
title
The title of the field |
java.lang.String |
type
To characterize the field hidden for fields used typically for server/client exchange no_query for fields which specify some parameters (e.g. the equinox of a coordinate system) trigger for fields which contain a parameter for an action |
java.lang.String |
ucd
UCD associated with the field |
java.lang.String |
unit
Unit used for the field |
static int |
UNSORT
|
java.lang.String |
width
Number of characters - ex: 8 |
Constructor Summary | |
---|---|
Field(java.util.Hashtable atts)
Field object creation. |
|
Field(java.lang.String name)
Field object creation. |
Method Summary | |
---|---|
void |
addInfo(java.lang.String name,
java.lang.String value)
Add addtional informations. |
boolean |
isNumDataType()
True si le field est numérique |
java.lang.String |
toString()
|
static java.lang.String |
typeFits2VOTable(java.lang.String s)
Conversion d'un type de donnée exprimé dans le standard FITS en standard VOTable |
static java.lang.String |
typeVOTable2Fits(java.lang.String s)
Conversion d'un type de donnée exprimé dans le standard VOTable en standard FITS |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String ID
public java.lang.String name
public java.lang.String description
public java.lang.String title
public java.lang.String type
public java.lang.String unit
public java.lang.String ucd
public java.lang.String datatype
public java.lang.String width
public java.lang.String arraysize
public java.lang.String precision
public java.lang.String href
public java.lang.String gref
public java.lang.String refText
public java.lang.String refValue
public boolean coo
public java.lang.String ref
public int sort
public static final int UNSORT
public static final int SORT_ASCENDING
public static final int SORT_DESCENDING
Constructor Detail |
---|
public Field(java.util.Hashtable atts)
atts
- Hashtable of XML attributs (ID, UCD-ucd, format, unit, datatype, wdith, precision, typepublic Field(java.lang.String name)
name
- Field nameMethod Detail |
---|
public void addInfo(java.lang.String name, java.lang.String value)
name
- type of the information (name, description or title)value
- value of the informationpublic boolean isNumDataType()
public static java.lang.String typeFits2VOTable(java.lang.String s)
public static java.lang.String typeVOTable2Fits(java.lang.String s)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |