Package gov.nasa.gsfc.sscweb.schema
Enum Class SpaceRegionType
- All Implemented Interfaces:
Serializable,Comparable<SpaceRegionType>,Constable
Magnetosphere space region enumeration. See
http://sscweb.gsfc.nasa.gov/users_guide/ssc_reg_doc.html
for a description.
<p>Java class for SpaceRegionType</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<simpleType name="SpaceRegionType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="InterplanetaryMedium"/>
<enumeration value="DaysideMagnetosheath"/>
<enumeration value="NightsideMagnetosheath"/>
<enumeration value="DaysideMagnetosphere"/>
<enumeration value="NightsideMagnetosphere"/>
<enumeration value="PlasmaSheet"/>
<enumeration value="TailLobe"/>
<enumeration value="HighLatitudeBoundaryLayer"/>
<enumeration value="LowLatitudeBoundaryLayer"/>
<enumeration value="DaysidePlasmasphere"/>
<enumeration value="NightsidePlasmasphere"/>
</restriction>
</simpleType>
}</pre>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDayside Magnetosheath region.Dayside Magnetosphere region.Dayside Plasmasphere region.High Latitude Boundary Layer region.Interplanetary Medium region.Low Latitude Boundary Layer region.Nightside Magnetosheath region.Nightside Magnetosphere region.Nightside Plasmasphere region.Plasma Sheet region.Tail Lobe region. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SpaceRegionTypeGets the enum associated to the value passed as parameter.value()Gets the value associated to the enum constant.static SpaceRegionTypeReturns the enum constant of this class with the specified name.static SpaceRegionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERPLANETARY_MEDIUM
Interplanetary Medium region. -
DAYSIDE_MAGNETOSHEATH
Dayside Magnetosheath region. -
NIGHTSIDE_MAGNETOSHEATH
Nightside Magnetosheath region. -
DAYSIDE_MAGNETOSPHERE
Dayside Magnetosphere region. -
NIGHTSIDE_MAGNETOSPHERE
Nightside Magnetosphere region. -
PLASMA_SHEET
Plasma Sheet region. -
TAIL_LOBE
Tail Lobe region. -
HIGH_LATITUDE_BOUNDARY_LAYER
High Latitude Boundary Layer region. -
LOW_LATITUDE_BOUNDARY_LAYER
Low Latitude Boundary Layer region. -
DAYSIDE_PLASMASPHERE
Dayside Plasmasphere region. -
NIGHTSIDE_PLASMASPHERE
Nightside Plasmasphere region.
-
-
Field Details
-
value
-
-
Constructor Details
-
SpaceRegionType
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
value
Gets the value associated to the enum constant.- Returns:
- The value linked to the enum.
-
fromValue
Gets the enum associated to the value passed as parameter.- Parameters:
v- The value to get the enum from.- Returns:
- The enum which corresponds to the value, if it exists.
- Throws:
IllegalArgumentException- If no value matches in the enum declaration.
-