public enum EnvironmentalSubcategory extends java.lang.Enum<EnvironmentalSubcategory> implements SubCategory
Enum Constant and Description |
---|
LARGE
Large
|
MEDIUM
Medium
|
OTHER
Other
|
SMALL
Small
|
VERY_LARGE
Very Large
|
VERY_SMALL
Very Small
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static EnvironmentalSubcategory |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static EnvironmentalSubcategory |
unmarshalEnum(java.nio.ByteBuffer buff) |
static EnvironmentalSubcategory |
unmarshalEnum(java.io.DataInputStream dis) |
static EnvironmentalSubcategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnvironmentalSubcategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnvironmentalSubcategory OTHER
public static final EnvironmentalSubcategory VERY_SMALL
public static final EnvironmentalSubcategory SMALL
public static final EnvironmentalSubcategory MEDIUM
public static final EnvironmentalSubcategory LARGE
public static final EnvironmentalSubcategory VERY_LARGE
public static EnvironmentalSubcategory[] values()
for (EnvironmentalSubcategory c : EnvironmentalSubcategory.values()) System.out.println(c);
public static EnvironmentalSubcategory 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 EnvironmentalSubcategory 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 EnvironmentalSubcategory unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static EnvironmentalSubcategory unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()