public enum Class1SupplyCategorySubsistence extends java.lang.Enum<Class1SupplyCategorySubsistence> implements Category
Enum Constant and Description |
---|
A_NON_PERISHABLE
A - Non-Perishable
|
C_COMBAT_RATIONS
C - Combat Rations
|
OTHER
Other
|
R_REFRIGERATED
R - Refrigerated
|
S_OTHER_NON_REFRIGERATED
S - Other Non-Refrigerated
|
W_WATER
W - Water
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static Class1SupplyCategorySubsistence |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static Class1SupplyCategorySubsistence |
unmarshalEnum(java.nio.ByteBuffer buff) |
static Class1SupplyCategorySubsistence |
unmarshalEnum(java.io.DataInputStream dis) |
static Class1SupplyCategorySubsistence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Class1SupplyCategorySubsistence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Class1SupplyCategorySubsistence OTHER
public static final Class1SupplyCategorySubsistence A_NON_PERISHABLE
public static final Class1SupplyCategorySubsistence C_COMBAT_RATIONS
public static final Class1SupplyCategorySubsistence R_REFRIGERATED
public static final Class1SupplyCategorySubsistence S_OTHER_NON_REFRIGERATED
public static final Class1SupplyCategorySubsistence W_WATER
public static Class1SupplyCategorySubsistence[] values()
for (Class1SupplyCategorySubsistence c : Class1SupplyCategorySubsistence.values()) System.out.println(c);
public static Class1SupplyCategorySubsistence 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 java.lang.String getDescription()
getDescription
in interface Category
public static int getEnumBitWidth()
public static Class1SupplyCategorySubsistence 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 Class1SupplyCategorySubsistence unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static Class1SupplyCategorySubsistence unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()