Enum Class LifeFormHumanSpecificMortars
java.lang.Object
java.lang.Enum<LifeFormHumanSpecificMortars>
edu.nps.moves.dis7.enumerations.LifeFormHumanSpecificMortars
- All Implemented Interfaces:
Serializable
,Comparable<LifeFormHumanSpecificMortars>
,Constable
This
enum
type is generated from XML,
UID 512,
marshal size 8;
LifeFormHumanSpecificMortars has 13 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 ConstantDescription60mm ANTOS60mm KBA-11860mm KBA-48M120mm M120-15 Molot81mm L16120mm Soltam K6/M120120mm M12181mm F2Others81mm M25281mm MX2-KM82mm UPIK-8260mm M224 -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic LifeFormHumanSpecificMortars
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 LifeFormHumanSpecificMortars
Unmarshal value to DataInputStreamstatic LifeFormHumanSpecificMortars
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic LifeFormHumanSpecificMortars
Returns the enum constant of this class with the specified name.static LifeFormHumanSpecificMortars[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHERS
Others -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
60mm M224 -
_60MM_ANTOS
60mm ANTOS -
_60MM_KBA_118
60mm KBA-118 -
_60MM_KBA_48M
60mm KBA-48M -
LIVE_ENTITY_DETONATION
81mm F2 -
CREATE_ENTITY_RELIABLE
81mm L16 -
REMOVE_ENTITY_RELIABLE
81mm M252 -
START_RESUME_RELIABLE
81mm MX2-KM -
STOP_FREEZE_RELIABLE
82mm UPIK-82 -
DATA_RELIABLE
120mm Soltam K6/M120 -
EVENT_REPORT_RELIABLE
120mm M121 -
COMMENT_RELIABLE
120mm M120-15 Molot
-
-
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
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<LifeFormHumanSpecificMortars>
- Returns:
- class name, value and name
-