public enum SafetyClassification extends Enum<SafetyClassification>
Java class for SafetyClassification.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="SafetyClassification">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Inf"/>
<enumeration value="MedA"/>
<enumeration value="MedB"/>
<enumeration value="MedC"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
INFORMATIONAL
Inf = Informational.
|
MED_A
MedA = Medical Class A.
|
MED_B
MedB = Medical Class B.
|
MED_C
MedC = Medical Class C.
|
| Modifier and Type | Method and Description |
|---|---|
static SafetyClassification |
fromValue(String v) |
String |
value() |
static SafetyClassification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SafetyClassification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SafetyClassification INFORMATIONAL
public static final SafetyClassification MED_A
public static final SafetyClassification MED_B
public static final SafetyClassification MED_C
public static SafetyClassification[] values()
for (SafetyClassification c : SafetyClassification.values()) System.out.println(c);
public static SafetyClassification 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 String value()
public static SafetyClassification fromValue(String v)
Copyright © 2018. All rights reserved.