net.aerith.misao.catalog.star
Class NovaStar
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.NovaStar
- public class NovaStar
- extends DefaultStar
The NovaStar
represents a nova data.
Field Summary |
protected java.lang.String |
constellation
The constellation of the nova. |
protected java.lang.String |
suffix
The suffix of the nova. |
protected int |
year
The year when nova was discovered. |
Fields inherited from class net.aerith.misao.util.Position |
x,
y |
Constructor Summary |
NovaStar()
Constructs an empty NovaStar . |
NovaStar(java.lang.String constellation,
int year,
java.lang.String suffix,
java.lang.String coor_string)
Constructs an NovaStar with data read from the
catalog file. |
Method Summary |
java.lang.String |
getCatalogAcronym()
Gets the acronym of the catalog. |
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 |
getName()
Gets the name of this star. |
java.lang.String |
getStarFolder()
Gets the folder string of the star. |
java.lang.String |
getVsnetName()
Gets the name of this star in a format for the VSNET (Variable
Star Network). |
void |
setName(java.lang.String name)
Sets the name of this star. |
Methods inherited from class net.aerith.misao.catalog.star.DefaultStar |
getCatalogCategory,
getCoorAccuracy,
getDefaultProperty,
getHierarchicalFolders,
getKeyAndValues,
getMaximumPositionErrorInArcsec,
getNamePrefix,
getPositionErrorInArcsec,
setCoorAccuracy,
setData,
setKeyAndValue |
Methods inherited from class net.aerith.misao.util.star.CatalogStar |
getAvailableMagnitudeSystems,
getBMagnitude,
getBVDifference,
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 java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
constellation
protected java.lang.String constellation
- The constellation of the nova.
year
protected int year
- The year when nova was discovered.
suffix
protected java.lang.String suffix
- The suffix of the nova.
NovaStar
public NovaStar()
- Constructs an empty
NovaStar
. It is used in
StarClass#newInstance
to review the XML data.
NovaStar
public NovaStar(java.lang.String constellation,
int year,
java.lang.String suffix,
java.lang.String coor_string)
- Constructs an
NovaStar
with data read from the
catalog file.
- Parameters:
constellation
- the constellation.year
- the year when nova was discovered.suffix
- the suffix of the nova.coor_string
- the R.A. and Decl.
getName
public java.lang.String getName()
- Gets the name of this star. This method returns such a string
as Nova Sgr 2000 No.1.
- Overrides:
- getName in class DefaultStar
- Returns:
- the name of this star.
getVsnetName
public java.lang.String getVsnetName()
- Gets the name of this star in a format for the VSNET (Variable
Star Network). This method returns such a string as
SGRnova2000-1.
- Overrides:
- getVsnetName in class Star
- Returns:
- the name of this star.
setName
public void setName(java.lang.String name)
- Sets the name of this star.
- Overrides:
- setName in class DefaultStar
- Parameters:
name
- the name to set.
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.
getCatalogAcronym
public java.lang.String getCatalogAcronym()
- Gets the acronym of the catalog.
- Overrides:
- getCatalogAcronym in class CatalogStar
- Returns:
- the acronym 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.
getStarFolder
public java.lang.String getStarFolder()
- Gets the folder string of the star.
- Overrides:
- getStarFolder in class DefaultStar
- Returns:
- the folder string of the star.