|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.Position | +--net.aerith.misao.util.star.StarPosition | +--net.aerith.misao.util.star.Star | +--net.aerith.misao.util.star.CatalogStar | +--net.aerith.misao.catalog.star.DefaultVariableStar
The DefaultVariableStar
represents a base star data
class of a default variable star. It has the magnitude range,
magnitude system, type, spectrum, period and epoch.
Field Summary | |
protected byte[] |
epoch
The epoch. |
protected byte[] |
mag_max
The maximum magnitude. |
protected boolean |
mag_max_and_min
True if the maximum and minimum magnitude are recorded. |
protected byte[] |
mag_min
The minimum magnitude or magnitude range. |
protected byte[] |
mag_system
The magnitude system code. |
protected byte[] |
period
The period. |
protected byte[] |
spectrum
The spectrum. |
protected byte[] |
type
The type. |
Fields inherited from class net.aerith.misao.util.star.CatalogStar |
detailed_output |
Fields inherited from class net.aerith.misao.util.star.Star |
color,
container_pair,
coor |
Fields inherited from class net.aerith.misao.util.star.StarPosition |
mag |
Fields inherited from class net.aerith.misao.util.Position |
x,
y |
Constructor Summary | |
DefaultVariableStar()
|
Method Summary | |
KeyAndValue[] |
getKeyAndValues()
Gets an array of keys and values to output. |
void |
setEpoch(java.lang.String epoch)
Sets the epoch. |
void |
setKeyAndValue(KeyAndValue key_and_value)
Sets the value of the specified key. |
void |
setMagnitudeByMaxAndMin(java.lang.String mag_max,
java.lang.String mag_min)
Sets the maximum and minimum magnitude. |
void |
setMagnitudeByRange(java.lang.String mag,
java.lang.String range)
Sets the magnitude and the range. |
void |
setMagSystem(java.lang.String mag_system)
Sets the magnitude system. |
void |
setPeriod(java.lang.String period)
Sets the period. |
void |
setSpectrum(java.lang.String spectrum)
Sets the spectrum. |
void |
setType(java.lang.String type)
Sets the type. |
Methods inherited from class net.aerith.misao.util.star.Star |
equals,
getColor,
getCoor,
getDecl,
getItemDelimiter,
getKeyAndValueDelimiter,
getName,
getOutputString,
getOutputStringsWithXY,
getOutputStringWithoutName,
getOutputStringWithXY,
getPair,
getPositionString,
getPxfString,
getPxfStringsWithXY,
getPxfStringWithXY,
getRA,
getVsnetName,
mapCoordinatesToXY,
mapCoordinatesToXY,
mapXYToCoordinates,
mapXYToCoordinates,
setColor,
setCoor,
setPair |
Methods inherited from class net.aerith.misao.util.star.StarPosition |
getMag,
getOutputStrings,
paramString,
setMag,
toString |
Methods inherited from class net.aerith.misao.util.Position |
add,
getDistanceFrom,
getPositionAngleTo,
getX,
getY,
rescale,
setPosition,
setX,
setY |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected byte[] type
protected byte[] spectrum
protected byte[] epoch
protected byte[] period
protected byte[] mag_max
protected byte[] mag_min
protected boolean mag_max_and_min
protected byte[] mag_system
Constructor Detail |
public DefaultVariableStar()
Method Detail |
public void setType(java.lang.String type)
type
- the type.public void setSpectrum(java.lang.String spectrum)
spectrum
- the spectrum.public void setEpoch(java.lang.String epoch)
epoch
- the epoch.public void setPeriod(java.lang.String period)
period
- the period.public void setMagnitudeByMaxAndMin(java.lang.String mag_max, java.lang.String mag_min)
mag_max
- the maximum magnitude.mag_min
- the minimum magnitude.public void setMagnitudeByRange(java.lang.String mag, java.lang.String range)
mag
- the magnitude.range
- the range.public void setMagSystem(java.lang.String mag_system)
mag_system
- the magnitude system.public KeyAndValue[] getKeyAndValues()
public void setKeyAndValue(KeyAndValue key_and_value)
key_and_value
- the key and value to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |