|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.util.Nodata
cds.simbad.BasicData
cds.simbad.PosData
Basic class for Coordinate fields
This includes Coordinates, proper motions, parallaxes and radial velocity
For the moment, this class keeps the data in String format
Field Summary | |
private Bibcode |
bibcode
|
private ErrorData |
error
|
private java.lang.String |
quality
|
Fields inherited from class cds.simbad.BasicData |
dataExists |
Fields inherited from class cds.util.Nodata |
NODATA, NODATA_DBL, NODATA_FLT, NODATA_SHT, NODATA_STR |
Constructor Summary | |
PosData()
Constructor with no data |
|
PosData(ErrorData err,
java.lang.String qual,
Bibcode bib)
Constructor with data. |
Method Summary | |
Bibcode |
getBibcode()
returns the bibcode |
ErrorData |
getError()
returns the error value(s) |
java.lang.String |
getQuality()
returns the quality flag |
void |
set(PosData pdata)
Sets the PosData parameters from another PosData object. |
PosData |
setBibcode(Bibcode bib)
Sets the bibcode field |
PosData |
setBibcode(java.lang.String bibstr)
Sets the bibcode field |
PosData |
setError(ErrorData err)
Sets the error field |
PosData |
setQuality(java.lang.String qual)
Sets the quality field. |
java.lang.String |
toString()
Edition de l'erreur, de la qualite et du bibcode |
Methods inherited from class cds.simbad.BasicData |
exists, setExist, setNodata |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private ErrorData error
private java.lang.String quality
private Bibcode bibcode
Constructor Detail |
public PosData()
public PosData(ErrorData err, java.lang.String qual, Bibcode bib)
err
- error value(s)qual
- quality flag (A-E)bib
- bibcode numberMethod Detail |
public void set(PosData pdata)
pdata
- PosData object or derived class objectpublic PosData setError(ErrorData err)
err
- error value(s)
public PosData setQuality(java.lang.String qual)
qual
- quality flag (A-E)
public PosData setBibcode(java.lang.String bibstr) throws BibcodeException
bibstr
- bibcode as a string (it will be normalized)
BibcodeException
- if the bibcode string is not parsablepublic PosData setBibcode(Bibcode bib)
bib
- bibcode number
public ErrorData getError()
public java.lang.String getQuality()
public Bibcode getBibcode()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |