Enum Class LifeFormsSubcategoryCISWeapons
java.lang.Object
java.lang.Enum<LifeFormsSubcategoryCISWeapons>
edu.nps.moves.dis7.enumerations.LifeFormsSubcategoryCISWeapons
- All Implemented Interfaces:
SubCategory
,Serializable
,Comparable<LifeFormsSubcategoryCISWeapons>
,Constable
public enum LifeFormsSubcategoryCISWeapons
extends Enum<LifeFormsSubcategoryCISWeapons>
implements SubCategory
This
enum
type is generated from XML,
UID 17,
marshal size 8;
LifeFormsSubcategoryCISWeapons has 52 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 ConstantDescriptionAKSU-74 5.45-mmAP hand grenade F1Assault rifle AK-74 and AKS-74, 5.45-mmAssault rifle AK and AKM, 7.62-mmAT-4 SpigotAT hand grenade RKG-3AT hand grenade RKG-3MAT hand grenade RKG-3TAutomatic (APS) 9-mm, StechkinCart-mounted TPO-50Fragmentation hand grenade RGNFragmentation hand grenade RGOGeneral purpose PK 7.62-mmGimlet SA-16Grad-1P manportable tripod rocket launcher, 122-mm (for Spesnatz and other specialists; aka 9P132)Grail SA-7Gremlin SA-14Hand grenade M75Hand grenade RGD-5Heavy DShK-38 and Model 38/46 12.7-mm, DegtyarevHeavy NSV 12.7-mmLaser DesignatorLight Anti-Armor weapon RPG-18Light Anti-Tank weapon RPG-22Light RPD 7.62-mmLight RPK-74 5.45-mmLight RPK 7.62-mmLPO-50MG andamp; RPGMon-50 Anti-Personnel minePlamya launcher, 30-mm AGS-17Portable rocket launcher RPG-16PPS-43 7.62-mmPPSh-41 7.62-mmPSM 5.45-mmRecoilless gun 73-mm SPG-9Rifle-mounted launcher, BG-15 40-mmROKS-3RPG-29 VampirSA-18SA-19SA-24 Igla-SSagger AT-3 (MCLOS)Saxhorn AT-7Self-loading (PM) 9-mm, MakarovSelf-loading rifle (SKS), 7.62-mm, SimonovSmoke hand grenade RDG-1Sniper rifle SVD 7.62-mm, DragunovSpigot A/B AT-14TT-33 7.62-mm, TokarevType 69 RPGVAT rocket launcher RPG-7 -
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.static LifeFormsSubcategoryCISWeapons[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC_APS_9_MM_STECHKIN
Automatic (APS) 9-mm, Stechkin -
PSM_545_MM
PSM 5.45-mm -
SELF_LOADING_PM_9_MM_MAKAROV
Self-loading (PM) 9-mm, Makarov -
TT_33_762_MM_TOKAREV
TT-33 7.62-mm, Tokarev -
ASSAULT_RIFLE_AK_AND_AKM_762_MM
Assault rifle AK and AKM, 7.62-mm -
ASSAULT_RIFLE_AK_74_AND_AKS_74_545_MM
Assault rifle AK-74 and AKS-74, 5.45-mm -
SELF_LOADING_RIFLE_SKS_762_MM_SIMONOV
Self-loading rifle (SKS), 7.62-mm, Simonov -
SNIPER_RIFLE_SVD_762_MM_DRAGUNOV
Sniper rifle SVD 7.62-mm, Dragunov -
AKSU_74_545_MM
AKSU-74 5.45-mm -
PPS_43_762_MM
PPS-43 7.62-mm -
PPSH_41_762_MM
PPSh-41 7.62-mm -
GENERAL_PURPOSE_PK_762_MM
General purpose PK 7.62-mm -
HEAVY_DSHK_38_AND_MODEL_38_46_127_MM_DEGTYAREV
Heavy DShK-38 and Model 38/46 12.7-mm, Degtyarev -
HEAVY_NSV_127_MM
Heavy NSV 12.7-mm -
LIGHT_RPD_762_MM
Light RPD 7.62-mm -
LIGHT_RPK_762_MM
Light RPK 7.62-mm -
LIGHT_RPK_74_545_MM
Light RPK-74 5.45-mm -
HAND_GRENADE_M75
Hand grenade M75 -
HAND_GRENADE_RGD_5
Hand grenade RGD-5 -
AP_HAND_GRENADE_F1
AP hand grenade F1 -
AT_HAND_GRENADE_RKG_3
AT hand grenade RKG-3 -
AT_HAND_GRENADE_RKG_3M
AT hand grenade RKG-3M -
AT_HAND_GRENADE_RKG_3T
AT hand grenade RKG-3T -
FRAGMENTATION_HAND_GRENADE_RGN
Fragmentation hand grenade RGN -
FRAGMENTATION_HAND_GRENADE_RGO
Fragmentation hand grenade RGO -
SMOKE_HAND_GRENADE_RDG_1
Smoke hand grenade RDG-1 -
PLAMYA_LAUNCHER_30_MM_AGS_17
Plamya launcher, 30-mm AGS-17 -
RIFLE_MOUNTED_LAUNCHER_BG_15_40_MM
Rifle-mounted launcher, BG-15 40-mm -
LPO_50
LPO-50 -
ROKS_3
ROKS-3 -
CART_MOUNTED_TPO_50
Cart-mounted TPO-50 -
GIMLET_SA_16
Gimlet SA-16 -
GRAIL_SA_7
Grail SA-7 -
GREMLIN_SA_14
Gremlin SA-14 -
SAGGER_AT_3_MCLOS
Sagger AT-3 (MCLOS) -
SAXHORN_AT_7
Saxhorn AT-7 -
SPIGOT_A_B_AT_14
Spigot A/B AT-14 -
SA_18
SA-18 -
SA_19
SA-19 -
GRAD_1P_MANPORTABLE_TRIPOD_ROCKET_LAUNCHER_122_MM_FOR_SPESNATZ_AND_OTHER_SPECIALISTS_AKA_9P132
public static final LifeFormsSubcategoryCISWeapons GRAD_1P_MANPORTABLE_TRIPOD_ROCKET_LAUNCHER_122_MM_FOR_SPESNATZ_AND_OTHER_SPECIALISTS_AKA_9P132Grad-1P manportable tripod rocket launcher, 122-mm (for Spesnatz and other specialists; aka 9P132) -
LIGHT_ANTI_ARMOR_WEAPON_RPG_18
Light Anti-Armor weapon RPG-18 -
LIGHT_ANTI_TANK_WEAPON_RPG_22
Light Anti-Tank weapon RPG-22 -
MG_AMP_RPG
MG andamp; RPG -
PORTABLE_ROCKET_LAUNCHER_RPG_16
Portable rocket launcher RPG-16 -
RECOILLESS_GUN_73_MM_SPG_9
Recoilless gun 73-mm SPG-9 -
VAT_ROCKET_LAUNCHER_RPG_7
VAT rocket launcher RPG-7 -
MON_50_ANTI_PERSONNEL_MINE
Mon-50 Anti-Personnel mine -
RPG_29_VAMPIR
RPG-29 Vampir -
LASER_DESIGNATOR
Laser Designator -
AT_4_SPIGOT
AT-4 Spigot -
SA_24_IGLA_S
SA-24 Igla-S -
TYPE_69_RPG
Type 69 RPG
-
-
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- Specified by:
getValue
in interfaceSubCategory
- Returns:
- integer value
-
getDescription
Provide enumeration description- Specified by:
getDescription
in interfaceSubCategory
- 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
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<LifeFormsSubcategoryCISWeapons>
- Returns:
- class name, value and name
-