Enum Constant and Description |
---|
BlanketFuel
A pin containing fertile blanket fuel.
|
FuelTest
A pin for conducting fuels testing.
|
InnerFuel
An inner core pin containing burnable fuel.
|
MaterialTest
A pin for conducting materials testing.
|
OuterFuel
An outer core pin containing burnable fuel.
|
PrimaryControl
A primary control pin.
|
SecondaryControl
A secondary (shutdown) control pin.
|
Shield
A shielding pin.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Gets the Integer ID associated with this enum
value.
|
java.lang.String |
toString()
Override the default toString() behavior to give
the user a better-formatted String representing this PinType.
|
static PinType |
valueOf(int id)
Gets an PinType enum value for the corresponding
Integer ID.
|
static PinType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PinType PrimaryControl
public static final PinType SecondaryControl
public static final PinType InnerFuel
public static final PinType OuterFuel
public static final PinType Shield
public static final PinType MaterialTest
public static final PinType FuelTest
public static final PinType BlanketFuel
public static PinType[] values()
for (PinType c : PinType.values()) System.out.println(c);
public static PinType 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<PinType>
public int getId()
public static PinType valueOf(int id)
id
- The integer ID to convert to a PinType value.