public class SqlStar extends SimpleStar
SimpleStar to host additional info
relevant for stellar activity.SimpleStar.Distance, SimpleStar.StarComparator| Modifier and Type | Field and Description |
|---|---|
static String |
COMMON
ID for common name.
|
static String |
HISTORY
ID for sb integer.
|
static String |
LOGG
ID for sb integer.
|
static String |
LUMCLASS
ID for spectral type, luminosity (1-5).
|
static String |
MASS
ID for sb integer.
|
static String |
METAL
ID for sb integer.
|
static String |
PARALLAX
ID for parallax in mas.
|
static String |
PERIOD
ID for period in days.
|
static String |
REDCOL
ID for V-R.
|
static String |
RV
ID for heliocentric velocity.
|
static String |
SB
ID for sb integer.
|
private static long |
serialVersionUID |
static String |
SPCLASS
ID for spectral type (O=0, B=10, etc.).
|
static String |
SPECTRUM
ID for spectral type.
|
static String |
TEFF
ID for sb integer.
|
static String |
TYPE
ID for object type.
|
static String |
VSINI
ID for rotational velocity.
|
DEFCOLOR, DEFID, DEFPROPDEC, DEFPROPRA, HTM, SKYMAG, SOL, UNKNOWN| Constructor and Description |
|---|
SqlStar(String name,
String common)
Constructs a new star from its name and the common name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
has(String key) |
Object |
setBinarity(int spclass)
Sets the multiplicity.
|
Object |
setHistory(String catalogs)
Sets the history.
|
Object |
setLogG(float g)
Sets the log g.
|
Object |
setLuminosityClass(int spclass)
Sets the luminosity class as an integer.
|
Object |
setMass(float m)
Sets the mass.
|
Object |
setMetal(float z)
Sets the metal content.
|
Object |
setParallax(float rv)
Sets the parallax as a double.
|
Object |
setPeriod(float rv)
Sets the period as a double.
|
Object |
setRadialVelocity(float rv)
Sets the heliocentric velocity as a double.
|
Object |
setRedColor(float vr)
Sets a red color index of the star, normally a V-R color.
|
Object |
setRotationalVelocity(float rv)
Sets the rotational velocity as a double.
|
Object |
setSpectralClass(int spclass)
Sets the spectral class as an integer.
|
Object |
setSpectrum(String spec)
Sets the spectrum as a string, like B1IV-V
|
Object |
setTeff(float t)
Sets the effective Temperature.
|
Object |
setType(String spec)
Sets the simbad object type.
|
String |
toString()
Simple conversion.
|
equals, exportIdMap, exportNameMap, fillMissing, get, getColor, getDe, getEpoch, getEquinox, getHtmName, getHtmName, getID, getMag, getMagComparator, getName, getPropDe, getProperty, getPropRa, getRa, getSeparation, getSeparation, getSeparation, getSeparation, getSeparation, isFullyValid, isMarginallyValid, isSexagesimal, isValid, isVeryValid, matches, matches, parseSexagesimal, raDeString, raDeString, raDeString, raDeString, set, setColor, setDe, setEpoch, setEquinox, setID, setMag, setName, setPropDe, setProperty, setPropRa, setRa, sexagesimal, sexagesimal, sexagesimal, sexagesimal, toBasicString, toBasicString, toDegreeString, toDegreeStringprivate static final long serialVersionUID
public static String COMMON
public static String SPECTRUM
public static String SPCLASS
public static String LUMCLASS
public static String RV
public static String VSINI
public static String REDCOL
public static String PERIOD
public static String PARALLAX
public static String TYPE
public static String SB
public static String METAL
public static String MASS
public static String LOGG
public static String TEFF
public static String HISTORY
public boolean has(String key)
public Object setSpectralClass(int spclass)
public Object setLuminosityClass(int spclass)
public Object setRadialVelocity(float rv)
public Object setRotationalVelocity(float rv)
public Object setRedColor(float vr)
public Object setPeriod(float rv)
public Object setParallax(float rv)
public Object setBinarity(int spclass)
public Object setMetal(float z)
public Object setMass(float m)
public Object setLogG(float g)
public Object setTeff(float t)
public String toString()
toString in class SimpleStar