Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

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)
static short AIRHIT
          (17)
static short ARMORPIERCINGHIT
          (10)
static short BUILDINGHITLARGE
          (20)
static short BUILDINGHITMEDIUM
          (19)
static short BUILDINGHITSMALL
          (18)
static short DETONATION
          (5)
static short DIRTBLASTLARGE
          (13)
static short DIRTBLASTMEDIUM
          (12)
static short DIRTBLASTSMALL
          (11)
static short ENTITYIMPACT
          (1)
static short ENTITYPROXIMATEDETONATION
          (2)
static short ENVIRONMENTOBJECTIMPACT
          (22)
static short ENVIRONMENTOBJECTPROXIMATEDETONATION
          (23)
static short GROUNDIMPACT
          (3)
static short GROUNDPROXIMATEDETONATION
          (4)
static short HEHITLARGE
          (9)
static short HEHITMEDIUM
          (8)
static short HEHITSMALL
          (7)
static short MINECLEARINGLINECHARGE
          (21)
static short NONE
          (6)
static short OTHER
          (0)
static short WATERBLASTLARGE
          (16)
static short WATERBLASTMEDIUM
          (15)
static short WATERBLASTSMALL
          (14)
static short WATERIMPACT
          (24)
 
Method Summary
java.lang.String toString(int idNumber)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

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
Method Detail

toString

public java.lang.String toString(int idNumber)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD