net.aerith.misao.catalog.star
Class DefaultVariableStar

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
Direct Known Subclasses:
ExtraGalacticStar, GcvsStar, MisVStar, NsvStar

public abstract class DefaultVariableStar
extends CatalogStar

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.CatalogStar
getAvailableMagnitudeSystems, getBMagnitude, getBVDifference, getCatalogAcronym, getCatalogCategory, getCatalogCode, getCatalogFolderCode, getCatalogName, getCatalogNamesWithMagnitudeSystem, getCatalogNameWithMagnitudeSystem, getCoorAccuracy, getCoorString, getCoorStringWithoutUnit, getDate, getDefaultProperty, getHelpMessage, getHierarchicalFolders, getIcMagnitude, getKeyAndValuesForPhotometry, getMagnitude, getMagnitude, getMagnitudeString, getMagnitudeSystem, getMaximumPositionErrorInArcsec, getPhotometryHelpMessage, getPositionErrorInArcsec, getRcMagnitude, getStarFolder, getUMagnitude, getVMagnitude, isDescriptionEdittable, reduceOutput, setCoorAccuracy, setName, supportsAstrometry, supportsMagnitude, supportsPhotometry
 
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
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

type

protected byte[] type
The type.

spectrum

protected byte[] spectrum
The spectrum.

epoch

protected byte[] epoch
The epoch.

period

protected byte[] period
The period.

mag_max

protected byte[] mag_max
The maximum magnitude.

mag_min

protected byte[] mag_min
The minimum magnitude or magnitude range.

mag_max_and_min

protected boolean mag_max_and_min
True if the maximum and minimum magnitude are recorded. False if the magnitude and range are recorded.

mag_system

protected byte[] mag_system
The magnitude system code.
Constructor Detail

DefaultVariableStar

public DefaultVariableStar()
Method Detail

setType

public void setType(java.lang.String type)
Sets the type.
Parameters:
type - the type.

setSpectrum

public void setSpectrum(java.lang.String spectrum)
Sets the spectrum.
Parameters:
spectrum - the spectrum.

setEpoch

public void setEpoch(java.lang.String epoch)
Sets the epoch.
Parameters:
epoch - the epoch.

setPeriod

public void setPeriod(java.lang.String period)
Sets the period.
Parameters:
period - the period.

setMagnitudeByMaxAndMin

public void setMagnitudeByMaxAndMin(java.lang.String mag_max,
                                    java.lang.String mag_min)
Sets the maximum and minimum magnitude.
Parameters:
mag_max - the maximum magnitude.
mag_min - the minimum magnitude.

setMagnitudeByRange

public void setMagnitudeByRange(java.lang.String mag,
                                java.lang.String range)
Sets the magnitude and the range.
Parameters:
mag - the magnitude.
range - the range.

setMagSystem

public void setMagSystem(java.lang.String mag_system)
Sets the magnitude system.
Parameters:
mag_system - the magnitude system.

getKeyAndValues

public KeyAndValue[] getKeyAndValues()
Gets an array of keys and values to output.
Overrides:
getKeyAndValues in class Star
Returns:
an array of keys and values to output.

setKeyAndValue

public void setKeyAndValue(KeyAndValue key_and_value)
Sets the value of the specified key.
Overrides:
setKeyAndValue in class Star
Parameters:
key_and_value - the key and value to set.