public enum VehicleLoadingEnumeration extends Enum<VehicleLoadingEnumeration>
Java class for VehicleLoadingEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VehicleLoadingEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="none"/>
<enumeration value="loading"/>
<enumeration value="unloading"/>
<enumeration value="additionalLoading"/>
<enumeration value="additionaUnloading"/>
<enumeration value="unknown"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADDITIONA_UNLOADING |
ADDITIONAL_LOADING |
LOADING |
NONE |
UNKNOWN |
UNLOADING |
| Modifier and Type | Method and Description |
|---|---|
static VehicleLoadingEnumeration |
fromValue(String v) |
String |
value() |
static VehicleLoadingEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleLoadingEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleLoadingEnumeration NONE
public static final VehicleLoadingEnumeration LOADING
public static final VehicleLoadingEnumeration UNLOADING
public static final VehicleLoadingEnumeration ADDITIONAL_LOADING
public static final VehicleLoadingEnumeration ADDITIONA_UNLOADING
public static final VehicleLoadingEnumeration UNKNOWN
public static VehicleLoadingEnumeration[] values()
for (VehicleLoadingEnumeration c : VehicleLoadingEnumeration.values()) System.out.println(c);
public static VehicleLoadingEnumeration 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 VehicleLoadingEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.