|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.MpcFormatRecord
The MpcFormatRecord
represents an astrometric data
record in the MPC 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. |
static int |
ACCURACY_EMPTY
The magnitude accuracy number which indicates not to output the magnitude. |
protected int |
band
The magnitude band. |
static int |
BAND_B
The magnitude band number which indicates a B-band observation. |
static int |
BAND_EMPTY
The magnitude band number which indicates not to output the band. |
static int |
BAND_I
The magnitude band number which indicates a I-band observation. |
static int |
BAND_NUCLEAR
The magnitude band number which indicates a nuclear magnitude. |
static int |
BAND_R
The magnitude band number which indicates a R-band observation. |
static int |
BAND_TOTAL
The magnitude band number which indicates a total magnitude |
static int |
BAND_V
The magnitude band number which indicates a V-band observation. |
protected java.lang.String |
code
The observatory code. |
protected Designation |
designation
The designation. |
protected XmlPositionRecord |
record
The XML element of the position data. |
protected int |
type
The observation type. |
static int |
TYPE_CCD
The observation type number which indicates a CCD observation. |
static int |
TYPE_PHOTOGRAPHIC
The observation type number which indicates a photographic observation. |
Constructor Summary | |
MpcFormatRecord(XmlPositionRecord record)
Constructs a MpcFormatRecord of the specified
position data. |
Method Summary | |
java.lang.String |
getOutputString()
Returns a string representation of the state of this object in the proper format. |
java.lang.String |
getPackedDesignation()
Gets the packed designation. |
void |
setDesignation(Designation designation)
Sets the designation. |
void |
setMagnitudeAccuracy(int accuracy)
Sets the magnitude accuracy. |
void |
setMagnitudeBand(int band)
Sets the magnitude band. |
void |
setObservationType(int type)
Sets the observation type. |
void |
setObservatoryCode(java.lang.String code)
Sets the observatory code. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected Designation designation
protected XmlPositionRecord record
protected int type
protected int accuracy
protected int band
protected java.lang.String code
public static final int TYPE_PHOTOGRAPHIC
public static final int TYPE_CCD
public static final int ACCURACY_EMPTY
public static final int ACCURACY_10TH
public static final int ACCURACY_100TH
public static final int BAND_EMPTY
public static final int BAND_B
public static final int BAND_V
public static final int BAND_R
public static final int BAND_I
public static final int BAND_TOTAL
public static final int BAND_NUCLEAR
Constructor Detail |
public MpcFormatRecord(XmlPositionRecord record)
MpcFormatRecord
of the specified
position data.record
- the XML element of the position data.Method Detail |
public void setDesignation(Designation designation)
designation
- the designation.public void setObservationType(int type)
type
- the observation type number.public void setMagnitudeAccuracy(int accuracy)
accuracy
- the magnitude accuracy number.public void setMagnitudeBand(int band)
band
- the magnitude band number.public void setObservatoryCode(java.lang.String code)
code
- the observatory code.public java.lang.String getPackedDesignation()
public java.lang.String getOutputString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |