public enum PlatformLandTrainsSubcategories extends java.lang.Enum<PlatformLandTrainsSubcategories> implements SubCategory
Enum Constant and Description |
---|
BOX_CAR
Box Car
|
CABOOSE
Caboose
|
ENGINE_LOCOMOTIVE
Engine (Locomotive)
|
FLATCAR
Flatcar
|
HOPPER
Hopper
|
OTHER
Other
|
PASSENGER_CAR
Passenger Car
|
TANKER
Tanker
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static PlatformLandTrainsSubcategories |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static PlatformLandTrainsSubcategories |
unmarshalEnum(java.nio.ByteBuffer buff) |
static PlatformLandTrainsSubcategories |
unmarshalEnum(java.io.DataInputStream dis) |
static PlatformLandTrainsSubcategories |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlatformLandTrainsSubcategories[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformLandTrainsSubcategories OTHER
public static final PlatformLandTrainsSubcategories ENGINE_LOCOMOTIVE
public static final PlatformLandTrainsSubcategories BOX_CAR
public static final PlatformLandTrainsSubcategories TANKER
public static final PlatformLandTrainsSubcategories FLATCAR
public static final PlatformLandTrainsSubcategories CABOOSE
public static final PlatformLandTrainsSubcategories PASSENGER_CAR
public static final PlatformLandTrainsSubcategories HOPPER
public static PlatformLandTrainsSubcategories[] values()
for (PlatformLandTrainsSubcategories c : PlatformLandTrainsSubcategories.values()) System.out.println(c);
public static PlatformLandTrainsSubcategories valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface SubCategory
public java.lang.String getDescription()
getDescription
in interface SubCategory
public static int getEnumBitWidth()
public static PlatformLandTrainsSubcategories getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static PlatformLandTrainsSubcategories unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static PlatformLandTrainsSubcategories unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()