public enum AggregateStateSpecific extends java.lang.Enum<AggregateStateSpecific>
Enum Constant and Description |
---|
NO_HEADQUARTERS
No headquarters
|
YES_AGGREGATE_UNIT_CONTAINS_A_HEADQUARTERS
Yes aggregate unit contains a headquarters
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static AggregateStateSpecific |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static AggregateStateSpecific |
unmarshalEnum(java.nio.ByteBuffer buff) |
static AggregateStateSpecific |
unmarshalEnum(java.io.DataInputStream dis) |
static AggregateStateSpecific |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AggregateStateSpecific[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggregateStateSpecific NO_HEADQUARTERS
public static final AggregateStateSpecific YES_AGGREGATE_UNIT_CONTAINS_A_HEADQUARTERS
public static AggregateStateSpecific[] values()
for (AggregateStateSpecific c : AggregateStateSpecific.values()) System.out.println(c);
public static AggregateStateSpecific 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()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static AggregateStateSpecific 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 AggregateStateSpecific unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static AggregateStateSpecific unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()