public enum CrowdingEnumeration extends Enum<CrowdingEnumeration>
Java class for CrowdingEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CrowdingEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="veryQuiet"/>
<enumeration value="quiet"/>
<enumeration value="normal"/>
<enumeration value="busy"/>
<enumeration value="veryBusy"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BUSY |
NORMAL |
QUIET |
VERY_BUSY |
VERY_QUIET |
| Modifier and Type | Method and Description |
|---|---|
static CrowdingEnumeration |
fromValue(String v) |
String |
value() |
static CrowdingEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrowdingEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrowdingEnumeration VERY_QUIET
public static final CrowdingEnumeration QUIET
public static final CrowdingEnumeration NORMAL
public static final CrowdingEnumeration BUSY
public static final CrowdingEnumeration VERY_BUSY
public static CrowdingEnumeration[] values()
for (CrowdingEnumeration c : CrowdingEnumeration.values()) System.out.println(c);
public static CrowdingEnumeration 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 CrowdingEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.