Package edu.nps.moves.dis7.enumerations
Enum LifeFormHumanSpecificSniper
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificSniper>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificSniper
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormHumanSpecificSniper>
,java.lang.constant.Constable
This
enum
type is generated from XML,
UID 481,
marshal size 8;
LifeFormHumanSpecificSniper has 27 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 ConstantDescription12.7mm M82A1A Special Applications Scoped Rifle (SASR)12.7mm NSV12.7mm OSV-9612.7mm Rangemaster 5012.7mm Steyr HS .5012.7mm V9420mm Denel NTW-205.8mm QBU-88 (Type 88)7.62mm AW SR-987.62mm AWM-F (G22)7.62mm Blaser R937.62mm FR F27.62mm G3 SG/17.62mm Galil Sniper7.62mm L96A17.62mm M14 DMR7.62mm M24 Sniper Weapon System (SWS)7.62mm M40A1/A37.62mm SR-25 MK117.62mm Steyr SSG 697.62mm SVD (Dragunov)7.62mm TYPE 797.7mm TYPE 998.58mm Blaser R93 Tactical 29mm VSS VintorezOther7.62mm C3 -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic LifeFormHumanSpecificSniper
getEnumForValue
(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 identifierstatic LifeFormHumanSpecificSniper
Unmarshal value to DataInputStreamstatic LifeFormHumanSpecificSniper
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic LifeFormHumanSpecificSniper
Returns the enum constant of this type with the specified name.static LifeFormHumanSpecificSniper[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
_58MM_QBU_88_TYPE_88
5.8mm QBU-88 (Type 88) -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
7.62mm C3 -
_762MM_FR_F2
7.62mm FR F2 -
_762MM_AWM_F_G22
7.62mm AWM-F (G22) -
_762MM_G3_SG_1
7.62mm G3 SG/1 -
_762MM_GALIL_SNIPER
7.62mm Galil Sniper -
_762MM_L96A1
7.62mm L96A1 -
_762MM_M14_DMR
7.62mm M14 DMR -
_762MM_M24_SNIPER_WEAPON_SYSTEM_SWS
7.62mm M24 Sniper Weapon System (SWS) -
_762MM_M40A1_A3
7.62mm M40A1/A3 -
_762MM_STEYR_SSG_69
7.62mm Steyr SSG 69 -
_762MM_SVD_DRAGUNOV
7.62mm SVD (Dragunov) -
_762MM_TYPE_79
7.62mm TYPE 79 -
_762MM_SR_25_MK11
7.62mm SR-25 MK11 -
_762MM_AW_SR_98
7.62mm AW SR-98 -
_762MM_BLASER_R93
7.62mm Blaser R93 -
_77MM_TYPE_99
7.7mm TYPE 99 -
_858MM_BLASER_R93_TACTICAL_2
8.58mm Blaser R93 Tactical 2 -
_9MM_VSS_VINTOREZ
9mm VSS Vintorez -
_127MM_STEYR_HS_50
12.7mm Steyr HS .50 -
_127MM_M82A1A_SPECIAL_APPLICATIONS_SCOPED_RIFLE_SASR
public static final LifeFormHumanSpecificSniper _127MM_M82A1A_SPECIAL_APPLICATIONS_SCOPED_RIFLE_SASR12.7mm M82A1A Special Applications Scoped Rifle (SASR) -
_127MM_NSV
12.7mm NSV -
_127MM_OSV_96
12.7mm OSV-96 -
_127MM_RANGEMASTER_50
12.7mm Rangemaster 50 -
_127MM_V94
12.7mm V94 -
_20MM_DENEL_NTW_20
20mm Denel NTW-20
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
Provide enumeration description- Returns:
- description
-
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
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
Provide name- Returns:
- name
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<LifeFormHumanSpecificSniper>
- Returns:
- class name, value and name
-