Enum Class LifeFormHumanSpecificGrenadeLaunchingMachineGun
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificGrenadeLaunchingMachineGun>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificGrenadeLaunchingMachineGun
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormHumanSpecificGrenadeLaunchingMachineGun>
,Constable
public enum LifeFormHumanSpecificGrenadeLaunchingMachineGun
extends Enum<LifeFormHumanSpecificGrenadeLaunchingMachineGun>
This
enum
type is generated from XML,
UID 517,
marshal size 8;
LifeFormHumanSpecificGrenadeLaunchingMachineGun has 20 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 ConstantDescription25x59mm XM307 Advanced Crew Served Weapon30x29mm AGS-17 Plamya30x29mm AGS-30 Atlant30x29mm RAG-30/SAG-3035x32mm QLZ8740mm M12940mm M7540mm VOG AGS-40 Balkan40x46mm Mk18 Mod 040x46mm Mk20 Mod 040x53mm HK GMG40x53mm Mk47 Striker40x53mm SB LAG 4040x53mm CIS 4040x56mm Howa Type-9640x46mm XM 17440x53mm Vektor Y3Other40x53mm Daewoo Precision Industries K440x53mm Mk19 -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationgetEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameboolean
getTRACE()
Whether tracing is on or off for this objectint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffervoid
setTRACE
(boolean value) Set tracing on/off for this objecttoString()
Provide simple identifierUnmarshal value to DataInputStreamunmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
_40X53MM_HK_GMG
40x53mm HK GMG -
_40X53MM_MK47_STRIKER
40x53mm Mk47 Striker -
_40MM_M75
40mm M75 -
_40MM_M129
40mm M129 -
IDENTIFICATION_FRIEND_OR_FOE
40x46mm XM 174 -
_40X46MM_MK18_MOD_0
40x46mm Mk18 Mod 0 -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
public static final LifeFormHumanSpecificGrenadeLaunchingMachineGun SUPPLEMENTAL_EMISSION_ENTITY_STATE40x53mm Mk19 -
_40X46MM_MK20_MOD_0
40x46mm Mk20 Mod 0 -
_30X29MM_RAG_30_SAG_30
30x29mm RAG-30/SAG-30 -
_30X29MM_AGS_17_PLAMYA
30x29mm AGS-17 Plamya -
_30X29MM_AGS_30_ATLANT
30x29mm AGS-30 Atlant -
_40MM_VOG_AGS_40_BALKAN
40mm VOG AGS-40 Balkan -
_40X53MM_SB_LAG_40
40x53mm SB LAG 40 -
LIVE_ENTITY_DETONATION
40x53mm Vektor Y3 -
ACKNOWLEDGE_RELIABLE
40x53mm CIS 40 -
DATA_RELIABLE
40x56mm Howa Type-96 -
RECORD_QUERY_RELIABLE
40x53mm Daewoo Precision Industries K4 -
_25X59MM_XM307_ADVANCED_CREW_SERVED_WEAPON
public static final LifeFormHumanSpecificGrenadeLaunchingMachineGun _25X59MM_XM307_ADVANCED_CREW_SERVED_WEAPON25x59mm XM307 Advanced Crew Served Weapon -
_35X32MM_QLZ87
35x32mm QLZ87
-
-
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
-
setTRACE
public void setTRACE(boolean value) Set tracing on/off for this object- Parameters:
value
- whether tracing is on or off
-
getTRACE
public boolean getTRACE()Whether tracing is on or off for this object- Returns:
- whether tracing is on or off
-
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
public static LifeFormHumanSpecificGrenadeLaunchingMachineGun unmarshalEnum(DataInputStream dis) throws Exception Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
public static LifeFormHumanSpecificGrenadeLaunchingMachineGun unmarshalEnum(ByteBuffer byteBuffer) throws Exception 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<LifeFormHumanSpecificGrenadeLaunchingMachineGun>
- Returns:
- class name, value and name
-