net.aerith.misao.catalog.star
Class DefaultStar

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
Direct Known Subclasses:
A64Star, A72cStar, Aaa97bStar, AfaStar, AgprsStar, Asas3Star, AsasStar, Axg1Star, B86Star, Bbe90Star, Bdf99Star, Bfa97Star, BisStar, BnVStar, BpsStar, BrhVStar, CaseAFStar, Cbb98Star, CeStar, CfrsStar, Cgcs3Star, CgcsStar, CghaStar, CgoStar, ChsmStar, Cks91Star, ClsStar, CsakVStar, CssStar, Ctt83Star, D75Star, DenisBulgeStar, Dhm99Star, Di91Star, DirectVStar, DoStar, E2Star, EcStar, EdinburghStar, Eros2GsaStar, ErosStar, EsoHaStar, EuveStar, Fastt1Star, Fastt2Star, FaustStar, FbqsStar, FbsStar, FocapStar, GcssStar, Gmc2001Star, GrbStar, HadVStar, HaroChaviraStar, HassfortherVStar, HbcStar, HbhaStar, HeStar, HhStar, HmxbStar, Hpj88Star, HrmVStar, HsStar, IfmStar, IsogalPStar, IsvStar, JlStar, KisoAStar, KisoCStar, Kp2001Star, KugStar, KuvStar, KwbbeStar, LanningStar, LbqsStar, LdStar, Lf1Star, LhsStar, LmcStar, LmxbStar, LowellGStar, LssStar, LsStar, LwdStar, Ma93Star, Mbh96Star, McgStar, Mfl2000Star, Mh95Star, MlaStar, MoaStar, MrkStar, Mt91Star, Ngc6712VStar, NgStar, NovaStar, Ogle2BulgeStar, OgleEwsStar, OgleLtStar, OglePeriodicStar, OgleTrStar, OmhrStar, OtherStar, Ow94Star, PbStar, PejStar, PgcStar, PhlStar, PnGStar, Qz2Star, Re2Star, RjhaStar, RosatStar, Rotse1Star, Rrw93Star, Rxs1Star, RxStar, SandStar, Sax1Star, SbsStar, SdssCvStar, SdssQuasarStar, StareStar, SupernovaStar, TaQStar, TassStar, TaSVStar, TaVStar, TbrVStar, TerzVStar, TmzVStar, ToaVStar, TychoVarStar, UgcStar, UhaStar, UmStar, UsStar, VdbhStar, W59Star, WakudaStar, WdStar, WgStar, WrStar, Zhm99Star

public class DefaultStar
extends CatalogStar

The DefaultStar represents a base star data class of a default star. It has a list of keys and values.


Field Summary
protected  byte coor_accuracy
          The accuracy of R.A.
protected  java.util.Vector list
          The list of keys and values.
protected  java.lang.String name
          The name of the star.
 
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
protected DefaultStar()
          Constructs an empty DefaultStar.
protected DefaultStar(java.lang.String name, java.lang.String coor_string)
          Constructs a DefaultStar.
 
Method Summary
 java.lang.String getCatalogCategory()
          Gets the category of the catalog.
protected  int getCatalogCategoryNumber()
          Gets the catalog category.
 byte getCoorAccuracy()
          Gets the accuracy of R.A.
 PlotProperty getDefaultProperty()
          Gets the default property to plot stars.
 java.util.Vector getHierarchicalFolders()
          Gets the list of the hierarchical folders.
 KeyAndValue[] getKeyAndValues()
          Gets an array of keys and values to output.
 double getMaximumPositionErrorInArcsec()
          Gets the maximum error of position in arcsec.
 java.lang.String getName()
          Gets the name of this star.
 java.lang.String getNamePrefix()
          Gets the prefix of the name.
 double getPositionErrorInArcsec()
          Gets the mean error of position in arcsec.
 java.lang.String getStarFolder()
          Gets the folder string of the star.
 void setCoorAccuracy(byte accuracy)
          Sets the accuracy of R.A.
 void setData(java.lang.String data)
          Sets the data.
 void setKeyAndValue(KeyAndValue key_and_value)
          Sets the value of the specified key.
 void setName(java.lang.String name)
          Sets the name of this star.
 
Methods inherited from class net.aerith.misao.util.star.CatalogStar
getAvailableMagnitudeSystems, getBMagnitude, getBVDifference, getCatalogAcronym, getCatalogCode, getCatalogFolderCode, getCatalogName, 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, 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

name

protected java.lang.String name
The name of the star.

list

protected java.util.Vector list
The list of keys and values.

coor_accuracy

protected byte coor_accuracy
The accuracy of R.A. and Decl.
Constructor Detail

DefaultStar

protected DefaultStar()
Constructs an empty DefaultStar. It is only for the subclasses.

DefaultStar

protected DefaultStar(java.lang.String name,
                      java.lang.String coor_string)
Constructs a DefaultStar.
Parameters:
name - the star name.
coor_string - the string which represents R.A. and Decl.
Method Detail

getNamePrefix

public java.lang.String getNamePrefix()
Gets the prefix of the name. It must be overrided in the subclasses.
Returns:
the prefix of the name.

getName

public java.lang.String getName()
Gets the name of this star.
Overrides:
getName 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 CatalogStar
Parameters:
name - the name to set.

getCoorAccuracy

public byte getCoorAccuracy()
Gets the accuracy of R.A. and Decl.
Overrides:
getCoorAccuracy in class CatalogStar
Returns:
the accuracy of R.A. and Decl.

setCoorAccuracy

public void setCoorAccuracy(byte accuracy)
Sets the accuracy of R.A. and Decl.
Overrides:
setCoorAccuracy in class CatalogStar
Parameters:
accuracy - the accuracy of R.A. and Decl.

getCatalogCategoryNumber

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

getCatalogCategory

public java.lang.String getCatalogCategory()
Gets the category of the catalog.
Overrides:
getCatalogCategory in class CatalogStar
Returns:
the category of the catalog.

getHierarchicalFolders

public java.util.Vector getHierarchicalFolders()
Gets the list of the hierarchical folders.
Overrides:
getHierarchicalFolders in class CatalogStar
Returns:
the list of the hierarchical folders.

getStarFolder

public java.lang.String getStarFolder()
Gets the folder string of the star.
Overrides:
getStarFolder in class CatalogStar
Returns:
the folder string of the star.

setData

public void setData(java.lang.String data)
Sets the data.
Parameters:
data - the data.

getPositionErrorInArcsec

public double getPositionErrorInArcsec()
Gets the mean error of position in arcsec.
Overrides:
getPositionErrorInArcsec in class CatalogStar
Returns:
the mean error of position in arcsec.

getMaximumPositionErrorInArcsec

public double getMaximumPositionErrorInArcsec()
Gets the maximum error of position in arcsec. It is the search area size to identify with other stars.
Overrides:
getMaximumPositionErrorInArcsec in class CatalogStar
Returns:
the maximum error of position in arcsec.

getDefaultProperty

public PlotProperty getDefaultProperty()
Gets the default property to plot stars.
Overrides:
getDefaultProperty in class CatalogStar
Returns:
the default property to plot stars.

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.