public enum EntityKind extends java.lang.Enum<EntityKind>
Enum Constant and Description |
---|
CULTURAL_FEATURE
Cultural feature
|
ENVIRONMENTAL
Environmental
|
EXPENDABLE
Expendable
|
LIFE_FORM
Life form
|
MUNITION
Munition
|
OTHER
Other
|
PLATFORM
Platform
|
RADIO
Radio
|
SENSOR_EMITTER
Sensor/Emitter
|
SUPPLY
Supply
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static EntityKind |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static EntityKind |
unmarshalEnum(java.nio.ByteBuffer buff) |
static EntityKind |
unmarshalEnum(java.io.DataInputStream dis) |
static EntityKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityKind OTHER
public static final EntityKind PLATFORM
public static final EntityKind MUNITION
public static final EntityKind LIFE_FORM
public static final EntityKind ENVIRONMENTAL
public static final EntityKind CULTURAL_FEATURE
public static final EntityKind SUPPLY
public static final EntityKind RADIO
public static final EntityKind EXPENDABLE
public static final EntityKind SENSOR_EMITTER
public static EntityKind[] values()
for (EntityKind c : EntityKind.values()) System.out.println(c);
public static EntityKind 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 EntityKind 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 EntityKind unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static EntityKind unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()