net.aerith.misao.util
Class AstrometrySetting

java.lang.Object
  |
  +--net.aerith.misao.util.AstrometrySetting

public class AstrometrySetting
extends java.lang.Object

The AstrometrySetting represents a set of reference catalog name and equinox, epoch, etc.


Field Summary
protected  java.lang.String catalog_name
          The catalog name.
protected  java.lang.String description
          The catalog description.
protected  java.lang.String epoch_jd
          The julian day of the epoch.
protected  int equinox
          The equinox.
static int EQUINOX_ANY
          The equinox which represents any time.
static int EQUINOX_B1950
          The equinox which represents B1950.0.
static int EQUINOX_J2000
          The equinox which represents J2000.0.
protected  java.lang.String equinox_jd
          The julian day of the equinox.
 
Constructor Summary
AstrometrySetting(java.lang.String catalog_name)
          Constructs an AstrometrySetting with a catalog name.
 
Method Summary
 java.lang.String getCatalogName()
          Gets the catalog name.
 java.lang.String getDescription()
          Returns the catalog description.
 java.lang.String getEpochJD()
          Gets the julian day of the epoch.
 int getEquinox()
          Gets the equinox.
 java.lang.String getEquinoxJD()
          Gets the julian day of the equinox.
 void setDescription(java.lang.String description)
          Sets the catalog description.
 void setEquinox(int equinox)
          Sets the equinox.
 void setEquinoxJD(java.lang.String jd)
          Sets the julian day of the equinox.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

EQUINOX_J2000

public static final int EQUINOX_J2000
The equinox which represents J2000.0.

EQUINOX_B1950

public static final int EQUINOX_B1950
The equinox which represents B1950.0.

EQUINOX_ANY

public static final int EQUINOX_ANY
The equinox which represents any time.

equinox

protected int equinox
The equinox.

equinox_jd

protected java.lang.String equinox_jd
The julian day of the equinox.

epoch_jd

protected java.lang.String epoch_jd
The julian day of the epoch.

catalog_name

protected java.lang.String catalog_name
The catalog name.

description

protected java.lang.String description
The catalog description.
Constructor Detail

AstrometrySetting

public AstrometrySetting(java.lang.String catalog_name)
Constructs an AstrometrySetting with a catalog name.
Parameters:
catalog_name - the catalog name.
Method Detail

getCatalogName

public java.lang.String getCatalogName()
Gets the catalog name.
Returns:
the catalog name.

getEquinox

public int getEquinox()
Gets the equinox.
Returns:
the number of equinox.

setEquinox

public void setEquinox(int equinox)
Sets the equinox.
Parameters:
equinox - the number of equinox.

getEquinoxJD

public java.lang.String getEquinoxJD()
Gets the julian day of the equinox.
Returns:
the julian day of the equinox.

setEquinoxJD

public void setEquinoxJD(java.lang.String jd)
Sets the julian day of the equinox.
Parameters:
jd - the julian day of the equinox.

getEpochJD

public java.lang.String getEpochJD()
Gets the julian day of the epoch.
Returns:
the julian day of the epoch.

getDescription

public java.lang.String getDescription()
Returns the catalog description. It returns the catalog name by default.
Returns:
the catalog description.

setDescription

public void setDescription(java.lang.String description)
Sets the catalog description.
Parameters:
the - catalog description.