|
|||||||||||
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.SpectralType
Spectral type object.
Field Summary | |
private java.lang.String |
sp
|
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 | |
SpectralType()
Empty constructor |
|
SpectralType(SpectralType sp)
Copy constructor. |
|
SpectralType(java.lang.String sp)
Constructor with initialisation by a spectral type string |
Method Summary | |
boolean |
equals(java.lang.Object o)
MOD-BB 21-01-04 Ajout de cette methode. |
java.lang.String |
get()
returns the spectral type string |
void |
set(SpectralType sp)
Sets the SpectralType from another SpectralType object |
void |
set(java.lang.String sp)
Sets a spectral type value to this object |
java.lang.String |
toString()
returns the spectral type string |
Methods inherited from class cds.simbad.BasicData |
exists, setExist, setNodata |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String sp
Constructor Detail |
public SpectralType()
public SpectralType(java.lang.String sp)
sp
- spectral type string. Currently no validity check is made on
the stringpublic SpectralType(SpectralType sp)
sp
- SpectralType objectMethod Detail |
public void set(java.lang.String sp)
sp
- spectral type string. Currently no validity check is made on
the stringpublic void set(SpectralType sp)
sp
- SpectralType object to copypublic java.lang.String get()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
o
- Objet a comparer.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |