Class mil.navy.nps.disEnumerations.DetonationResultField
java.lang.Object
|
+----mil.navy.nps.disEnumerations.DetonationResultField
- public class DetonationResultField
- extends java.lang.Object
- Version:
- 1.0
- Author:
- Ronan Fauglas (http://www.stl.nps.navy.mil/~fauglas)
- Location:
-
http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/disEnumerations/DetonationResultField.java
- Summary:
- Detonation Result Field -- This field shall specify the result of the detonation. This field shall be represented by an 8-bit enumberation (see Section 5 in EBV-DOC).
- Explanation:
- This file has been automatically generated from the DIS Data Dictionary
html source file by
disconvertJdbeDisEnumerationsToJava.pl.
This is effectively a C-style enumeration. Java doesn't do enumerations
like C, so you have to wrap a class around it. It's a bit more typing,
but pretty simple-minded.
Note that the variables are declared public. The default for access
is package-wide, but these variables might need to be accessed from
outside the package. Since all the variables are final, nobody can
change anything anyway, so this is no biggie.
To use these enumerations in your Java code, import the package first:
import mil.navy.nps.disEnumerations.*;
You access this via something like DetonationResultField.HEHITLARGE;
the class name, a period, and the class variable name.
- History:
- 21jan98 /Ronan Fauglas /New-generated automatically by convertJdbeDisEnumerationsToJava.pl
- References:
- JDBE:DIS Data Dictionary Version 1.0a(DIS-DD)
- DIS Data Dictionary: Detonation Result Field
- convertJdbeDisEnumerationsToJava.pl Perl script (converting html enumerations to java enumerations)
http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/disEnumerations/convertJdbeDisEnumerationsToJava.pl
Field Summary
|
static short
|
AIRBURST
(25) Air Burst
|
static short
|
AIRHIT
(17) Air hit
|
static short
|
ARMORPIERCINGHIT
(10) Armor-piercing hit
|
static short
|
BUILDINGHITLARGE
(20) Building hit, large
|
static short
|
BUILDINGHITMEDIUM
(19) Building hit, medium
|
static short
|
BUILDINGHITSMALL
(18) Building hit, small
|
static short
|
DETONATION
(5) Detonation
|
static short
|
DIRTBLASTLARGE
(13) Dirt blast, large
|
static short
|
DIRTBLASTMEDIUM
(12) Dirt blast, medium
|
static short
|
DIRTBLASTSMALL
(11) Dirt blast, small
|
static short
|
ENTITYIMPACT
(1) Entity Impact
|
static short
|
ENTITYPROXIMATEDETONATION
(2) Entity Proximate Detonation
|
static short
|
ENVIRONMENTOBJECTIMPACT
(22) Environment object impact
|
static short
|
ENVIRONMENTOBJECTPROXIMATEDETONATION
(23) Environment object proximate detonation
|
static short
|
GROUNDIMPACT
(3) Ground Impact
|
static short
|
GROUNDPROXIMATEDETONATION
(4) Ground Proximate Detonation
|
static short
|
HEHITLARGE
(9) HE hit, large
|
static short
|
HEHITMEDIUM
(8) HE hit, medium
|
static short
|
HEHITSMALL
(7) HE hit, small
|
static short
|
MINECLEARINGLINECHARGE
(21) Mine-clearing line charge
|
static short
|
NONE
(6) None
|
static short
|
OTHER
(0) Other
|
static short
|
WATERBLASTLARGE
(16) Water blast, large
|
static short
|
WATERBLASTMEDIUM
(15) Water blast, medium
|
static short
|
WATERBLASTSMALL
(14) Water blast, small
|
static short
|
WATERIMPACT
(24) Water Impact
|
Method Summary
|
java.lang.String
|
toString(int idNumber)
|
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OTHER
public static final short OTHER
- (0) Other
ENTITYIMPACT
public static final short ENTITYIMPACT
- (1) Entity Impact
ARMORPIERCINGHIT
public static final short ARMORPIERCINGHIT
- (10) Armor-piercing hit
DIRTBLASTSMALL
public static final short DIRTBLASTSMALL
- (11) Dirt blast, small
DIRTBLASTMEDIUM
public static final short DIRTBLASTMEDIUM
- (12) Dirt blast, medium
DIRTBLASTLARGE
public static final short DIRTBLASTLARGE
- (13) Dirt blast, large
WATERBLASTSMALL
public static final short WATERBLASTSMALL
- (14) Water blast, small
WATERBLASTMEDIUM
public static final short WATERBLASTMEDIUM
- (15) Water blast, medium
WATERBLASTLARGE
public static final short WATERBLASTLARGE
- (16) Water blast, large
AIRHIT
public static final short AIRHIT
- (17) Air hit
BUILDINGHITSMALL
public static final short BUILDINGHITSMALL
- (18) Building hit, small
BUILDINGHITMEDIUM
public static final short BUILDINGHITMEDIUM
- (19) Building hit, medium
ENTITYPROXIMATEDETONATION
public static final short ENTITYPROXIMATEDETONATION
- (2) Entity Proximate Detonation
BUILDINGHITLARGE
public static final short BUILDINGHITLARGE
- (20) Building hit, large
MINECLEARINGLINECHARGE
public static final short MINECLEARINGLINECHARGE
- (21) Mine-clearing line charge
ENVIRONMENTOBJECTIMPACT
public static final short ENVIRONMENTOBJECTIMPACT
- (22) Environment object impact
ENVIRONMENTOBJECTPROXIMATEDETONATION
public static final short ENVIRONMENTOBJECTPROXIMATEDETONATION
- (23) Environment object proximate detonation
WATERIMPACT
public static final short WATERIMPACT
- (24) Water Impact
AIRBURST
public static final short AIRBURST
- (25) Air Burst
GROUNDIMPACT
public static final short GROUNDIMPACT
- (3) Ground Impact
GROUNDPROXIMATEDETONATION
public static final short GROUNDPROXIMATEDETONATION
- (4) Ground Proximate Detonation
DETONATION
public static final short DETONATION
- (5) Detonation
NONE
public static final short NONE
- (6) None
HEHITSMALL
public static final short HEHITSMALL
- (7) HE hit, small
HEHITMEDIUM
public static final short HEHITMEDIUM
- (8) HE hit, medium
HEHITLARGE
public static final short HEHITLARGE
- (9) HE hit, large
DetonationResultField
public DetonationResultField()
toString
public java.lang.String toString(int idNumber)