net.aerith.misao.catalog.star
Class OtherStar

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.DefaultStar
                                |
                                +--net.aerith.misao.catalog.star.OtherStar
Direct Known Subclasses:
OtherVariableStar

public class OtherStar
extends DefaultStar

The OtherStar represents a star data class, especially of data the user adds.


Fields inherited from class net.aerith.misao.catalog.star.DefaultStar
coor_accuracy, list, name
 
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
OtherStar()
          Constructs an empty OtherStar.
OtherStar(java.lang.String name, java.lang.String vsnet_name, java.lang.String coor_string)
          Constructs a OtherStar.
 
Method Summary
protected  int getCatalogCategoryNumber()
          Gets the catalog category.
 java.lang.String getCatalogCode()
          Gets the code of the catalog.
 java.lang.String getCatalogName()
          Gets the name of the catalog.
 java.lang.String getVsnetName()
          Gets the name of this star in a format for the VSNET (Variable Star Network).
 
Methods inherited from class net.aerith.misao.catalog.star.DefaultStar
getCatalogCategory, getCoorAccuracy, getDefaultProperty, getHierarchicalFolders, getKeyAndValues, getMaximumPositionErrorInArcsec, getName, getNamePrefix, getPositionErrorInArcsec, getStarFolder, setCoorAccuracy, setData, setKeyAndValue, setName
 
Methods inherited from class net.aerith.misao.util.star.CatalogStar
getAvailableMagnitudeSystems, getBMagnitude, getBVDifference, getCatalogAcronym, getCatalogFolderCode, getCatalogNamesWithMagnitudeSystem, getCatalogNameWithMagnitudeSystem, getCoorString, getCoorStringWithoutUnit, getDate, getHelpMessage, getIcMagnitude, getKeyAndValuesForPhotometry, getMagnitude, getMagnitude, getMagnitudeString, getMagnitudeSystem, getPhotometryHelpMessage, getRcMagnitude, getUMagnitude, getVMagnitude, isDescriptionEdittable, reduceOutput, supportsAstrometry, supportsMagnitude, supportsPhotometry
 
Methods inherited from class net.aerith.misao.util.star.Star
equals, getColor, getCoor, getDecl, getItemDelimiter, getKeyAndValueDelimiter, getOutputString, getOutputStringsWithXY, getOutputStringWithoutName, getOutputStringWithXY, getPair, getPositionString, getPxfString, getPxfStringsWithXY, getPxfStringWithXY, getRA, 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
 

Constructor Detail

OtherStar

public OtherStar()
Constructs an empty OtherStar. It is used in StarClass#newInstance to review the XML data.

OtherStar

public OtherStar(java.lang.String name,
                 java.lang.String vsnet_name,
                 java.lang.String coor_string)
Constructs a OtherStar.
Parameters:
name - the star name.
vsnet_name - the star name for the VSNET.
coor_string - the string which represents R.A. and Decl.
Method Detail

getVsnetName

public java.lang.String getVsnetName()
Gets the name of this star in a format for the VSNET (Variable Star Network). In principle, this method must be overrided in subclasses. This method returns the name itself. The name cannot have any space characters.
Overrides:
getVsnetName in class Star
Returns:
the name of this star.

getCatalogName

public java.lang.String getCatalogName()
Gets the name of the catalog. It must be unique among all subclasses.
Overrides:
getCatalogName in class CatalogStar
Returns:
the name of the catalog.

getCatalogCode

public java.lang.String getCatalogCode()
Gets the code of the catalog. It must be unique among all subclasses.
Overrides:
getCatalogCode in class CatalogStar
Returns:
the code of the catalog.

getCatalogCategoryNumber

protected int getCatalogCategoryNumber()
Gets the catalog category. It must be overrided in the subclasses.
Overrides:
getCatalogCategoryNumber in class DefaultStar
Returns:
the catalog category.