public enum CPSIA extends Enum<CPSIA>
Enum Constant and Description |
---|
BALLOON |
CONTAINS_MARBLE |
CONTAINS_SMALL_BALL |
IS_MARBLE |
IS_SMALL_BALL |
IS_SMALL_PARTS |
NO_WARNING |
NONE
Do not send this to jet
|
Modifier and Type | Method and Description |
---|---|
static CPSIA |
fromString(String text)
Attempt to retrieve a CPSIA by text value
|
String |
getText()
Retrieve the cpsia cautionary text
|
static CPSIA |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CPSIA[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CPSIA NONE
public static final CPSIA NO_WARNING
public static final CPSIA IS_SMALL_PARTS
public static final CPSIA IS_SMALL_BALL
public static final CPSIA IS_MARBLE
public static final CPSIA CONTAINS_SMALL_BALL
public static final CPSIA CONTAINS_MARBLE
public static final CPSIA BALLOON
public static CPSIA[] values()
for (CPSIA c : CPSIA.values()) System.out.println(c);
public static CPSIA 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 static CPSIA fromString(String text) throws IllegalArgumentException
text
- valueIllegalArgumentException
- if text is not foundpublic String getText()
Copyright © 2017. All rights reserved.