Enum Class ExplosiveMaterialCategories
java.lang.Object
java.lang.Enum<ExplosiveMaterialCategories>
edu.nps.moves.dis7.enumerations.ExplosiveMaterialCategories
- All Implemented Interfaces:
Serializable
,Comparable<ExplosiveMaterialCategories>
,Constable
This
enum
type is generated from XML,
UID 310,
marshal size 16;
ExplosiveMaterialCategories has 45 enumerations total.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlcoholANFOAVGAS (Aviation Gas)ButaneC-4Composition C-4Crude Oil (Unspecified)Diesel Fuel (Unspecified Grade)Dust (Unspecified Type)DynamiteE85 EthanolEthanolFlour DustFuel OilGasoline/Petrol (Unspecified Octane)Grain DustHeliumHMXHydrogen (Gaseous)Hydrogen (Liquid)Jet AJet A-1Jet BJet BiofuelJet Fuel (Unspecified)JP-10 Missile FuelJP-4 (F-40/JET B)JP-5 (F-44/JET A)JP-7JP-8 (F-34/JET A-1)JPTSKeroseneLH-2 Rocket FuelLight Crude OilLiquid Petroleum Gas (LPG)LOX Rocket FuelNatural Gas (NG)Nitroglycerin (NG)No StatementPETNPropaneRDXRP-1 Rocket FuelSugar DustTNT -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic ExplosiveMaterialCategories
getEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffertoString()
Provide simple identifierstatic ExplosiveMaterialCategories
Unmarshal value to DataInputStreamstatic ExplosiveMaterialCategories
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic ExplosiveMaterialCategories
Returns the enum constant of this class with the specified name.static ExplosiveMaterialCategories[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_STATEMENT
No Statement -
AVGAS_AVIATION_GAS
AVGAS (Aviation Gas) -
JET_FUEL_UNSPECIFIED
Jet Fuel (Unspecified) -
JP_4_F_40_JET_B
JP-4 (F-40/JET B) -
JP_5_F_44_JET_A
JP-5 (F-44/JET A) -
JP_7
JP-7 -
JP_8_F_34_JET_A_1
JP-8 (F-34/JET A-1) -
JP_10_MISSILE_FUEL
JP-10 Missile Fuel -
JPTS
JPTS -
JET_A
Jet A -
JET_A_1
Jet A-1 -
JET_B
Jet B -
JET_BIOFUEL
Jet Biofuel -
GASOLINE_PETROL_UNSPECIFIED_OCTANE
Gasoline/Petrol (Unspecified Octane) -
DIESEL_FUEL_UNSPECIFIED_GRADE
Diesel Fuel (Unspecified Grade) -
ETHANOL
Ethanol -
E85_ETHANOL
E85 Ethanol -
FUEL_OIL
Fuel Oil -
KEROSENE
Kerosene -
CRUDE_OIL_UNSPECIFIED
Crude Oil (Unspecified) -
LIGHT_CRUDE_OIL
Light Crude Oil -
LIQUID_PETROLEUM_GAS_LPG
Liquid Petroleum Gas (LPG) -
RP_1_ROCKET_FUEL
RP-1 Rocket Fuel -
LH_2_ROCKET_FUEL
LH-2 Rocket Fuel -
LOX_ROCKET_FUEL
LOX Rocket Fuel -
ALCOHOL
Alcohol -
HYDROGEN_LIQUID
Hydrogen (Liquid) -
NITROGLYCERIN_NG
Nitroglycerin (NG) -
ANFO
ANFO -
DYNAMITE
Dynamite -
TNT
TNT -
RDX
RDX -
PETN
PETN -
HMX
HMX -
C_4
C-4 -
COMPOSITION_C_4
Composition C-4 -
NATURAL_GAS_NG
Natural Gas (NG) -
BUTANE
Butane -
PROPANE
Propane -
HELIUM
Helium -
HYDROGEN_GASEOUS
Hydrogen (Gaseous) -
DUST_UNSPECIFIED_TYPE
Dust (Unspecified Type) -
GRAIN_DUST
Grain Dust -
FLOUR_DUST
Flour Dust -
SUGAR_DUST
Sugar Dust
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
-
getEnumBitWidth
public static int getEnumBitWidth()bit width for this enumeration- Returns:
- number of bits wide
-
getEnumForValue
Provide enumeration for a given value- Parameters:
value
- integer value of interest- Returns:
- enumeration corresponding to numeric value
-
marshal
Marshal value to DataOutputStream- Parameters:
dos
- DataOutputStream for output- Throws:
IOException
- input-output error- See Also:
-
marshal
Marshal value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for output- Throws:
IOException
- input-output errorException
- See Also:
-
unmarshalEnum
Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
Unmarshal enumeration value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
getName
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<ExplosiveMaterialCategories>
- Returns:
- ID number and name
-