Enum Class LifeFormHumanSpecificRecoillessRifles
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificRecoillessRifles>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificRecoillessRifles
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormHumanSpecificRecoillessRifles>
,Constable
public enum LifeFormHumanSpecificRecoillessRifles
extends Enum<LifeFormHumanSpecificRecoillessRifles>
This
enum
type is generated from XML,
UID 521,
marshal size 8;
LifeFormHumanSpecificRecoillessRifles has 33 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 ConstantDescription105mm LG40105mm LG42106mm M40 Recoilless Rifle120mm M-28 Davy Crockett155mm M-29 Davy Crockett30mm Rheinmetall RMK3050mm Jagdfaust57mm M18 RR60mm RGW-6073mm LG4074mm Pansarskott m/68 Miniman75mm M20 RR82mm B-10 RR82mm M60 RR84mm ALAC84mm M136 AT-4 CS84mm M2 Carl Gustav84mm M3 Carl Gustav84mm M4 Carl Gustav88mm 55 S 55 Raikka90mm M67 RR90mm Matador-AS90mm Matador-MP (RGW-90)90mm Matador-WB90mm Pvpj 11095mm 95 S 58-61120mm BAT RR73mm SPG-9 Kopye80mm Breda FolgoreOther88mm RCL 3.45in84mm M1 Carl Gustav107mm B-11 RR -
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 -
_84MM_M136_AT_4_CS
84mm M136 AT-4 CS -
_57MM_M18_RR
57mm M18 RR -
_75MM_M20_RR
75mm M20 RR -
_120MM_M_28_DAVY_CROCKETT
120mm M-28 Davy Crockett -
_155MM_M_29_DAVY_CROCKETT
155mm M-29 Davy Crockett -
_106MM_M40_RECOILLESS_RIFLE
106mm M40 Recoilless Rifle -
_82MM_M60_RR
82mm M60 RR -
_90MM_M67_RR
90mm M67 RR -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
84mm M1 Carl Gustav -
_84MM_M2_CARL_GUSTAV
84mm M2 Carl Gustav -
_84MM_M3_CARL_GUSTAV
84mm M3 Carl Gustav -
_84MM_M4_CARL_GUSTAV
84mm M4 Carl Gustav -
_74MM_PANSARSKOTT_M_68_MINIMAN
74mm Pansarskott m/68 Miniman -
_84MM_ALAC
84mm ALAC -
_82MM_B_10_RR
82mm B-10 RR -
TIME_SPACE_POSITION_INFORMATION
107mm B-11 RR -
LIVE_ENTITY_DETONATION
80mm Breda Folgore -
ACKNOWLEDGE_RELIABLE
120mm BAT RR -
DATA_RELIABLE
73mm SPG-9 Kopye -
RECORD_QUERY_RELIABLE
88mm RCL 3.45in -
_90MM_PVPJ_110
90mm Pvpj 110 -
_50MM_JAGDFAUST
50mm Jagdfaust -
_30MM_RHEINMETALL_RMK30
30mm Rheinmetall RMK30 -
_90MM_MATADOR_MP_RGW_90
90mm Matador-MP (RGW-90) -
_90MM_MATADOR_WB
90mm Matador-WB -
_90MM_MATADOR_AS
90mm Matador-AS -
_60MM_RGW_60
60mm RGW-60 -
_88MM_55_S_55_RAIKKA
88mm 55 S 55 Raikka -
_95MM_95_S_58_61
95mm 95 S 58-61 -
_73MM_LG40
73mm LG40 -
_105MM_LG40
105mm LG40 -
_105MM_LG42
105mm LG42
-
-
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 LifeFormHumanSpecificRecoillessRifles 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 LifeFormHumanSpecificRecoillessRifles 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<LifeFormHumanSpecificRecoillessRifles>
- Returns:
- class name, value and name
-