public static enum ObserveSql.Types extends Enum<ObserveSql.Types>
| Enum Constant and Description |
|---|
BIAS |
CALIB |
DARK |
FLAT |
SCIENCE |
SKY |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ObserveSql.Types |
createFromFitsHeader(String sql) |
static ObserveSql.Types |
createFromSql(int sql) |
String |
getFitsHeader() |
int |
getSqlType() |
static ObserveSql.Types |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObserveSql.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObserveSql.Types SKY
public static final ObserveSql.Types SCIENCE
public static final ObserveSql.Types FLAT
public static final ObserveSql.Types BIAS
public static final ObserveSql.Types CALIB
public static final ObserveSql.Types DARK
public static final ObserveSql.Types UNKNOWN
private int db
private String head
public static ObserveSql.Types[] values()
for (ObserveSql.Types c : ObserveSql.Types.values()) System.out.println(c);
public static ObserveSql.Types valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getSqlType()
public String getFitsHeader()
public static ObserveSql.Types createFromSql(int sql)
public static ObserveSql.Types createFromFitsHeader(String sql)