|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.Designation
The Designation
represents a designation of an
asteroid, comet or satellite.
Field Summary | |
protected java.lang.String |
fragment
The fragment. |
protected java.lang.String |
month_code
The month code. |
protected int |
number
The permanent number. |
protected int |
orbit
The orbit type. |
static int |
ORBIT_ASTEROID
The orbit type number which indicates an asteroid. |
static int |
ORBIT_COMET
The orbit type number which indicates a comet. |
static int |
ORBIT_LOST
The orbit type number which indicates a lost comet. |
static int |
ORBIT_PERIODIC
The orbit type number which indicates a periodic comet. |
static int |
ORBIT_UNCERTAIN
The orbit type number which indicates a uncertain comet. |
protected int |
planet
The planet. |
static int |
PLANET_EARTH
The planet number which indicates Earth. |
static int |
PLANET_JUPITER
The planet number which indicates Jupiter. |
static int |
PLANET_MARS
The planet number which indicates Mars. |
static int |
PLANET_MERCURY
The planet number which indicates Mercury. |
static int |
PLANET_NEPTUNE
The planet number which indicates Neptune. |
static int |
PLANET_PLUTO
The planet number which indicates Pluto. |
static int |
PLANET_SATURN
The planet number which indicates Saturn. |
static int |
PLANET_URANUS
The planet number which indicates Uranus. |
static int |
PLANET_VENUS
The planet number which indicates Venus. |
protected int |
sequential
The sequential number in month. |
protected java.lang.String |
sub_code
The sub code in month. |
protected int |
survey
The survey type. |
static int |
SURVEY_PL
The survey type number which indicates the Palomar-Leiden Survey (1960). |
static int |
SURVEY_T1
The survey type number which indicates the First Trojan Survey (1971). |
static int |
SURVEY_T2
The survey type number which indicates the Second Trojan Survey (1973). |
static int |
SURVEY_T3
The survey type number which indicates the Third Trojan Survey (1977). |
protected int |
type
The designation type. |
static int |
TYPE_ASTEROID_NUMBERED
The designation type number which indicates a numbered asteroid. |
static int |
TYPE_ASTEROID_PROVISIONAL
The designation type number which indicates a provisional asteroid. |
static int |
TYPE_ASTEROID_SURVEY
The designation type number which indicates an asteroid of a special survey. |
static int |
TYPE_COMET_NUMBERED
The designation type number which indicates a numbered comet. |
static int |
TYPE_COMET_PROVISIONAL
The designation type number which indicates a provisional comet. |
static int |
TYPE_SATELLITE_NUMBERED
The designation type number which indicates a numbered satellite. |
static int |
TYPE_SATELLITE_PROVISIONAL
The designation type number which indicates a provisional satellite. |
protected int |
year
The year of provisional designation. |
Constructor Summary | |
Designation(int type)
Constructs a Designation of the specified
type. |
Method Summary | |
java.lang.String |
getFragment()
Gets the fragment. |
java.lang.String |
getMonthCode()
Gets the month code. |
int |
getNumber()
Gets the permanent number. |
int |
getOrbit()
Gets the orbit type. |
java.lang.String |
getOutputString()
Returns a string representation of this designation. |
int |
getPlanet()
Gets the planet. |
int |
getSequentialNumber()
Gets the sequential number in month. |
java.lang.String |
getSubCode()
Gets the sub code in month. |
int |
getSurvey()
Gets the survey type. |
int |
getType()
Gets the designation type. |
int |
getYear()
Gets the year of provisional designation. |
void |
setFragment(java.lang.String fragment)
Sets the fragment. |
void |
setMonthCode(java.lang.String month_code)
Sets the month code. |
void |
setNumber(int number)
Sets the permanent number. |
void |
setOrbit(int orbit)
Sets the orbit type. |
void |
setPlanet(int planet)
Sets the planet. |
void |
setSequentialNumber(int sequential)
Sets the sequential number in month. |
void |
setSubCode(java.lang.String sub_code)
Sets the sub code in month. |
void |
setSurvey(int survey)
Sets the survey type. |
void |
setYear(int year)
Sets the year of provisional designation. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected int type
protected int orbit
protected int number
protected int year
protected java.lang.String month_code
protected java.lang.String sub_code
protected int sequential
protected int survey
protected java.lang.String fragment
protected int planet
public static final int TYPE_ASTEROID_NUMBERED
public static final int TYPE_ASTEROID_PROVISIONAL
public static final int TYPE_ASTEROID_SURVEY
public static final int TYPE_COMET_NUMBERED
public static final int TYPE_COMET_PROVISIONAL
public static final int TYPE_SATELLITE_NUMBERED
public static final int TYPE_SATELLITE_PROVISIONAL
public static final int ORBIT_ASTEROID
public static final int ORBIT_COMET
public static final int ORBIT_PERIODIC
public static final int ORBIT_LOST
public static final int ORBIT_UNCERTAIN
public static final int SURVEY_PL
public static final int SURVEY_T1
public static final int SURVEY_T2
public static final int SURVEY_T3
public static final int PLANET_MERCURY
public static final int PLANET_VENUS
public static final int PLANET_EARTH
public static final int PLANET_MARS
public static final int PLANET_JUPITER
public static final int PLANET_SATURN
public static final int PLANET_URANUS
public static final int PLANET_NEPTUNE
public static final int PLANET_PLUTO
Constructor Detail |
public Designation(int type)
Designation
of the specified
type.type
- the designation type.Method Detail |
public int getType()
public void setOrbit(int orbit)
orbit
- the orbit type number.public int getOrbit()
public void setNumber(int number)
number
- the permanent number.public int getNumber()
public void setYear(int year)
year
- the year.public int getYear()
public void setMonthCode(java.lang.String month_code)
month_code
- the month code.public java.lang.String getMonthCode()
public void setSubCode(java.lang.String sub_code)
sub_code
- the sub code in month.public java.lang.String getSubCode()
public void setSequentialNumber(int sequential)
sequential
- the sequential number in month.public int getSequentialNumber()
public void setSurvey(int survey)
survey
- the survey type number.public int getSurvey()
public void setFragment(java.lang.String fragment)
fragment
- the fragment.public java.lang.String getFragment()
public void setPlanet(int planet)
planet
- the planet number.public int getPlanet()
public java.lang.String getOutputString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |