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