public enum AssemblyType extends java.lang.Enum<AssemblyType>
Represents the three possible types of assemblies: fuel, control or reflector.
Enum Constant and Description |
---|
Control
Control type includes primary and secondary
(shutdown) assemblies.
|
Fuel
Fuel type includes burnable (inner fuel, outer
fuel) and blanket (optional) assemblies.
|
Reflector
Reflector type contains only reflector assemblies.
|
Shield
Shield type only contains shield assemblies.
|
Test
Test type includes materials test and fuel test
assemblies.
|
Modifier and Type | Method and Description |
---|---|
static AssemblyType |
fromString(java.lang.String name)
Converts a String to an AssemblyType enum value.
|
java.lang.String |
toString()
Override the default toString() behavior to give
the user a better-formatted String representing this AssemblyType.
|
static AssemblyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AssemblyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssemblyType Fuel
public static final AssemblyType Control
public static final AssemblyType Reflector
public static final AssemblyType Shield
public static final AssemblyType Test
public static AssemblyType[] values()
for (AssemblyType c : AssemblyType.values()) System.out.println(c);
public static AssemblyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AssemblyType>
public static AssemblyType fromString(java.lang.String name)
name
- The String to convert.