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