public enum AccidentStatus extends Enum<AccidentStatus>
Clase Java para AccidentStatus.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="AccidentStatus">
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<enumeration value="3"/>
<enumeration value="5"/>
<enumeration value="7"/>
<enumeration value="8"/>
<enumeration value="9"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEFINITIVE_CLOSED |
DEFINITIVE_CLOSED_SENT_TO_CPD |
TEMPORARY_CLOSED |
TEMPORARY_CLOSED_SENT_TO_CPD |
WITHDRAW |
| Modifier and Type | Method and Description |
|---|---|
static AccidentStatus |
fromValue(int v) |
int |
value() |
static AccidentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccidentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccidentStatus WITHDRAW
public static final AccidentStatus DEFINITIVE_CLOSED
public static final AccidentStatus TEMPORARY_CLOSED
public static final AccidentStatus DEFINITIVE_CLOSED_SENT_TO_CPD
public static final AccidentStatus TEMPORARY_CLOSED_SENT_TO_CPD
public static AccidentStatus[] values()
for (AccidentStatus c : AccidentStatus.values()) System.out.println(c);
public static AccidentStatus 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 int value()
public static AccidentStatus fromValue(int v)
Copyright © 2018. All rights reserved.