|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.util.Nodata
cds.simbad.BasicData
Base class for Simbad Basic data. Manages (currently) only an existence flag. All other basic data must derive from this one
Field Summary | |
protected boolean |
dataExists
|
Fields inherited from class cds.util.Nodata |
NODATA, NODATA_DBL, NODATA_FLT, NODATA_SHT, NODATA_STR |
Constructor Summary | |
BasicData()
Constuctor for an empty object with nodata |
|
BasicData(boolean exist)
Constructor seting the existence or not of the object |
Method Summary | |
boolean |
exists()
tests if the object has data (exists) or not |
void |
setExist(boolean exist)
sets the presence or not of data for the object |
void |
setNodata()
Sets the object as having no data |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean dataExists
Constructor Detail |
public BasicData()
public BasicData(boolean exist)
exist
- boolean value. the object exist (or has data) or notMethod Detail |
public void setNodata()
public void setExist(boolean exist)
exist
- boolean value. the object exist (or has data) or notpublic boolean exists()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |