public enum PlatformLandMotorcycleSubcategories extends java.lang.Enum<PlatformLandMotorcycleSubcategories> implements SubCategory
Enum Constant and Description |
---|
CRUISER_LARGE
Cruiser (Large)
|
DIRT_BIKE
Dirt Bike
|
OTHER
Other
|
SCOOTER_SMALL
Scooter (Small)
|
SPORT_STREET_MID_SIZE
Sport/Street (Mid-Size)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static PlatformLandMotorcycleSubcategories |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static PlatformLandMotorcycleSubcategories |
unmarshalEnum(java.nio.ByteBuffer buff) |
static PlatformLandMotorcycleSubcategories |
unmarshalEnum(java.io.DataInputStream dis) |
static PlatformLandMotorcycleSubcategories |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlatformLandMotorcycleSubcategories[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformLandMotorcycleSubcategories OTHER
public static final PlatformLandMotorcycleSubcategories SCOOTER_SMALL
public static final PlatformLandMotorcycleSubcategories SPORT_STREET_MID_SIZE
public static final PlatformLandMotorcycleSubcategories CRUISER_LARGE
public static final PlatformLandMotorcycleSubcategories DIRT_BIKE
public static PlatformLandMotorcycleSubcategories[] values()
for (PlatformLandMotorcycleSubcategories c : PlatformLandMotorcycleSubcategories.values()) System.out.println(c);
public static PlatformLandMotorcycleSubcategories 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 PlatformLandMotorcycleSubcategories 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 PlatformLandMotorcycleSubcategories unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static PlatformLandMotorcycleSubcategories unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()