Package edu.gsu.cs.dmlab.datatypes
Enum EventType
- java.lang.Object
-
- java.lang.Enum<EventType>
-
- edu.gsu.cs.dmlab.datatypes.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<EventType>
public enum EventType extends Enum<EventType>
An enumeration used to identify which type of solar activity an event object is an instance of.- Author:
- Dustin Kempton, Surabhi Priya, Data Mining Lab, Georgia State University
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventType
fromString(String input)
String
toQualifiedString()
static EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE_REGION
public static final EventType ACTIVE_REGION
-
CME
public static final EventType CME
-
CORONAL_DIMMING
public static final EventType CORONAL_DIMMING
-
CORONAL_HOLE
public static final EventType CORONAL_HOLE
-
CORONAL_WAVE
public static final EventType CORONAL_WAVE
-
FILAMENT
public static final EventType FILAMENT
-
FILAMENT_ERUPTION
public static final EventType FILAMENT_ERUPTION
-
FILAMENT_ACTIVATION
public static final EventType FILAMENT_ACTIVATION
-
FLARE
public static final EventType FLARE
-
LOOP
public static final EventType LOOP
-
OSCILLATION
public static final EventType OSCILLATION
-
SUNSPOT
public static final EventType SUNSPOT
-
EMERGING_FLUX
public static final EventType EMERGING_FLUX
-
CORONAL_JET
public static final EventType CORONAL_JET
-
PLAGE
public static final EventType PLAGE
-
OTHER
public static final EventType OTHER
-
NOTHING_REPORTED
public static final EventType NOTHING_REPORTED
-
SIGMOID
public static final EventType SIGMOID
-
SPRAY_SURGE
public static final EventType SPRAY_SURGE
-
CORONAL_RAIN
public static final EventType CORONAL_RAIN
-
CORONAL_CAVITY
public static final EventType CORONAL_CAVITY
-
ERUPTION
public static final EventType ERUPTION
-
TOPOLOGICAL_OBJECT
public static final EventType TOPOLOGICAL_OBJECT
-
HYPOTHESIS
public static final EventType HYPOTHESIS
-
UV_BURST
public static final EventType UV_BURST
-
EXPLOSION_EVENT
public static final EventType EXPLOSION_EVENT
-
PROMINENCE_BUBBLE
public static final EventType PROMINENCE_BUBBLE
-
PEACOCK_TAIL
public static final EventType PEACOCK_TAIL
-
QUIET_SUN
public static final EventType QUIET_SUN
-
-
Method Detail
-
values
public static EventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EventType c : EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
fromString
public static EventType fromString(String input)
- Parameters:
input
- ,abbreviated String input type of the Solar Event (ex: ar, cr,er..)- Returns:
- EventType (ex: ACTIVE_REGION, CORONAL_HOLE ,...)
-
toQualifiedString
public String toQualifiedString()
- Returns:
- String representation of EventType object with just two/three characters all in lower case,
-
-