|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.VsnetRecord
The VsnetRecord
represents a magnitude data record in
the VSNET format.
Field Summary | |
protected int |
accuracy
The magnitude accuracy. |
static int |
ACCURACY_100TH
The magnitude accuracy number which indicates to output in 0.01 mag order. |
static int |
ACCURACY_10TH
The magnitude accuracy number which indicates to output in 0.1 mag order. |
protected int |
format
The format number. |
static int |
FORMAT_EXTENDED
The format number which indicates the extended format. |
static int |
FORMAT_EXTENDED_INSTRUMENTS
The format number which indicates the extended format, with the instruments. |
static int |
FORMAT_ORIGINAL
The format number which indicates the original format. |
protected java.lang.String |
name
The name of the star. |
protected java.lang.String |
observer_code
The observer's code. |
protected XmlMagRecord |
record
The XML element of the magnitude data. |
Constructor Summary | |
VsnetRecord(java.lang.String name,
XmlMagRecord record)
Constructs a VsnetRecord of the specified star
and the magnitude data. |
Method Summary | |
java.lang.String |
getCatalog()
Gets the catalog. |
java.lang.String |
getChip()
Gets the chip. |
java.lang.String |
getDate()
Gets the date string. |
java.lang.String |
getImageObserver()
Gets the image observer. |
java.lang.String |
getInstruments()
Gets the instruments. |
java.lang.String |
getMag()
Gets the magnitude. |
java.lang.String |
getName()
Gets the star name. |
java.lang.String |
getObserverCode()
Gets the observer's code. |
java.lang.String |
getOutputString()
Returns a string representation of the state of this object in the specified format. |
void |
setAccuracy(int accuracy)
Sets the magnitude accuracy. |
void |
setFormat(int format)
Sets the format. |
void |
setObserverCode(java.lang.String observer)
Sets the observer's code. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.lang.String name
protected XmlMagRecord record
protected int format
protected int accuracy
protected java.lang.String observer_code
public static final int ACCURACY_10TH
public static final int ACCURACY_100TH
public static final int FORMAT_ORIGINAL
public static final int FORMAT_EXTENDED
public static final int FORMAT_EXTENDED_INSTRUMENTS
Constructor Detail |
public VsnetRecord(java.lang.String name, XmlMagRecord record)
VsnetRecord
of the specified star
and the magnitude data.name
- the name of the star.record
- the XML element of the magnitude data.Method Detail |
public void setFormat(int format)
format
- the format number.public void setAccuracy(int accuracy)
accuracy
- the magnitude accuracy number.public java.lang.String getName()
public java.lang.String getDate()
public java.lang.String getMag()
public void setObserverCode(java.lang.String observer)
observer
- the observer's code.public java.lang.String getObserverCode()
public java.lang.String getChip()
public java.lang.String getCatalog()
public java.lang.String getImageObserver()
public java.lang.String getInstruments()
public java.lang.String getOutputString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |