mil.navy.nps.disEnumerations
Class WarheadField

java.lang.Object
  extended bymil.navy.nps.disEnumerations.WarheadField

public class WarheadField
extends java.lang.Object

Warhead Field -- The warhead shall be specified by a 16-bit enumeration(see Section 5 in EBV-DOC)

Version:
1.1
Author:
Ronan Fauglas, Don Brutzman
References:
DIS Data Dictionary: Warhead Field (local) Warhead Field (SISO)
JDBE:DIS Data Dictionary Version 1.0a (DIS-DD)
Perl script (converting html enumerations to java enumerations) convertJdbeDisEnumerationsToJava.pl (local) or http://web.3D.org/WorkingGroups/vrtp/mil/navy/nps/disEnumerations/convertJdbeDisEnumerationsToJava.pl
"Named Constants," The Java Programming Language, Gosling & Arnold.
Explanation:
This file has been automatically generated from a local copy of the DIS Data Dictionary at http://SISO.sc.ist.ucf.edu/dis/dis-dd/ html source file by convertJdbeDisEnumerationsToJava.pl (local) or http://www.web3D.org/WorkingGroups/vrtp/mil/navy/nps/disEnumerations/convertJdbeDisEnumerationsToJava.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 (i.e. constant), 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 WarheadField.BIOLOGICALTOXIN, i.e. combine the class name, a period, and a class variable (enumeration) name.

History:
21jan98 /Ronan Fauglas /New
30mar99 /Don Brutzman /Revised Javadoc, many more enumeration classes
Location:
WarheadField.java (local)
http://www.web3D.org/WorkingGroups/vrtp/mil/navy/nps/disEnumerations/WarheadField.java

Field Summary
static short AC
          (8210) AC (HCN)
static short BIOLOGICAL
          (9000) Biological
static short BIOLOGICALBACTERIA
          (9200) Biological, Bacteria
static short BIOLOGICALGENETICALLYMODIFIEDMICROORGANISMS
          (9400) Biological, Genetically Modified Micro-organisms
static short BIOLOGICALRICKETTSIA
          (9300) Biological, Rickettsia
static short BIOLOGICALTOXIN
          (9500) Biological, Toxin
static short BIOLOGICALVIRUS
          (9100) Biological, Virus
static short CARGO
          (0010) Cargo (Variable Submunitions)
static short CG
          (8220) CG (Phosgene)
static short CHEMICALBLISTERAGENT
          (8100) Chemical, Blister Agent
static short CHEMICALBLOODAGENT
          (8200) Chemical, Blood Agent
static short CHEMICALGENERAL
          (8000) Chemical, General
static short CHEMICALNERVEAGENT
          (8300) Chemical, Nerve Agent
static short CK
          (8215) CK (CNCI)
static short DUSTYGA
          (8335) Dusty GA (Tabun)
static short DUSTYGB
          (8350) Dusty GB (Sarin)
static short DUSTYGD
          (8365) Dusty GD (Soman)
static short DUSTYGF
          (8380) Dusty GF
static short DUSTYHD
          (8120) Dusty HD (Mustard)
static short DUSTYVX
          (8320) Dusty VX
static short ENUMERATION10UM
          (0033) 10 um
static short ENUMERATION1UM
          (0031) 1 um
static short ENUMERATION5UM
          (0032) 5 um
static short FUELAIREXPLOSIVE
          (0020) Fuel/Air Explosive
static short GA
          (8325) GA (Tabun)
static short GB
          (8340) GB (Sarin)
static short GD
          (8355) GD (Soman)
static short GF
          (8370) GF
static short GLASSBLADS
          (0030) Glass Blads
static short HD
          (8110) HD (Mustard)
static short HEANTIPERSONNEL
          (1685) HE, Antipersonnel
static short HEANTITANK
          (1400) HE, Antitank
static short HEBLASTFRAGMENTATION
          (1620) HE, Blast Fragmentation
static short HEBLASTPENETRATOR
          (1675) HE, Blast Penetrator
static short HEBOMBLETS
          (1500) HE, Bomblets
static short HECONTINUOUSROD
          (1610) HE, Continuous Rod
static short HEDARTS
          (1630) HE, Darts
static short HEDIRECTEDFRAGMENTATION
          (1640) HE, Directed Fragmentation
static short HEDOUBLEHALLOWCHARGE
          (1665) HE, Double Hallow Charge
static short HEFLECHETTES
          (1635) HE, Flechettes
static short HEFRAGMENTATION
          (1300) HE, Fragmentation
static short HEGENERALPURPOSE
          (1670) HE, General Purpose
static short HEHALLOWCHARGE
          (1660) HE, Hallow Charge
static short HEINCENDIARY
          (1200) HE, Incendiary
static short HEPLASTIC
          (1100) HE, Plastic
static short HERODPENETRATOR
          (1680) HE, Rod Penetrator
static short HESEMIARMORPIERCING
          (1645) HE, Semi-Armor Piercing (SAP)
static short HESEMIARMORPIERCINGFRAGMENTATION
          (1655) HE, Semi-Armor Piercing, Fragmentation
static short HESHAPEDCHARGE
          (1600) HE, Shaped Charge
static short HESHAPEDCHARGEFRAGMENTATION
          (1650) HE, Shaped Charge Fragmentation
static short HESTEERABLEDARTSWITHHE
          (1625) HE, Steerable Darts with HE
static short HETUNGSTENBALL
          (1615) HE, Tungsten Ball
static short HIGHEXPLOSIVE
          (1000) High Explosive(HE)
static short ILLUMINATION
          (3000) Illumination
static short KINETIC
          (5000) Kinetic
static short MINES
          (6000) Mines
static short NUCLEAR
          (7000) Nuclear
static short NUCLEARIMT
          (7010) Nuclear, IMT
static short OTHER
          (0000) Other
static short PRACTICE
          (4000) Practice
static short SMOKE
          (2000) Smoke
static short THICKENEDGA
          (8330) Thickened GA (Tabun)
static short THICKENEDGB
          (8345) Thickened GB (Sarin)
static short THICKENEDGD
          (8360) Thickened GD (Soman)
static short THICKENEDGF
          (8375) Thickened GF
static short THICKENEDHD
          (8115) Thickened HD (Mustard)
static short THICKENEDVX
          (8315) Thickened VX
static short VX
          (8310) VX
 
Constructor Summary
WarheadField()
           
 
Method Summary
static java.lang.String toString(int idNumber)
          Returns a string containing the enumeration name which corresponds to an enumeration value, as in WarheadField.toString (0000) returns the string "OTHER"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OTHER

public static final short OTHER
(0000) Other

See Also:
Constant Field Values

CARGO

public static final short CARGO
(0010) Cargo (Variable Submunitions)

See Also:
Constant Field Values

FUELAIREXPLOSIVE

public static final short FUELAIREXPLOSIVE
(0020) Fuel/Air Explosive

See Also:
Constant Field Values

GLASSBLADS

public static final short GLASSBLADS
(0030) Glass Blads

See Also:
Constant Field Values

ENUMERATION1UM

public static final short ENUMERATION1UM
(0031) 1 um

See Also:
Constant Field Values

ENUMERATION5UM

public static final short ENUMERATION5UM
(0032) 5 um

See Also:
Constant Field Values

ENUMERATION10UM

public static final short ENUMERATION10UM
(0033) 10 um

See Also:
Constant Field Values

HIGHEXPLOSIVE

public static final short HIGHEXPLOSIVE
(1000) High Explosive(HE)

See Also:
Constant Field Values

HEPLASTIC

public static final short HEPLASTIC
(1100) HE, Plastic

See Also:
Constant Field Values

HEINCENDIARY

public static final short HEINCENDIARY
(1200) HE, Incendiary

See Also:
Constant Field Values

HEFRAGMENTATION

public static final short HEFRAGMENTATION
(1300) HE, Fragmentation

See Also:
Constant Field Values

HEANTITANK

public static final short HEANTITANK
(1400) HE, Antitank

See Also:
Constant Field Values

HEBOMBLETS

public static final short HEBOMBLETS
(1500) HE, Bomblets

See Also:
Constant Field Values

HESHAPEDCHARGE

public static final short HESHAPEDCHARGE
(1600) HE, Shaped Charge

See Also:
Constant Field Values

HECONTINUOUSROD

public static final short HECONTINUOUSROD
(1610) HE, Continuous Rod

See Also:
Constant Field Values

HETUNGSTENBALL

public static final short HETUNGSTENBALL
(1615) HE, Tungsten Ball

See Also:
Constant Field Values

HEBLASTFRAGMENTATION

public static final short HEBLASTFRAGMENTATION
(1620) HE, Blast Fragmentation

See Also:
Constant Field Values

HESTEERABLEDARTSWITHHE

public static final short HESTEERABLEDARTSWITHHE
(1625) HE, Steerable Darts with HE

See Also:
Constant Field Values

HEDARTS

public static final short HEDARTS
(1630) HE, Darts

See Also:
Constant Field Values

HEFLECHETTES

public static final short HEFLECHETTES
(1635) HE, Flechettes

See Also:
Constant Field Values

HEDIRECTEDFRAGMENTATION

public static final short HEDIRECTEDFRAGMENTATION
(1640) HE, Directed Fragmentation

See Also:
Constant Field Values

HESEMIARMORPIERCING

public static final short HESEMIARMORPIERCING
(1645) HE, Semi-Armor Piercing (SAP)

See Also:
Constant Field Values

HESHAPEDCHARGEFRAGMENTATION

public static final short HESHAPEDCHARGEFRAGMENTATION
(1650) HE, Shaped Charge Fragmentation

See Also:
Constant Field Values

HESEMIARMORPIERCINGFRAGMENTATION

public static final short HESEMIARMORPIERCINGFRAGMENTATION
(1655) HE, Semi-Armor Piercing, Fragmentation

See Also:
Constant Field Values

HEHALLOWCHARGE

public static final short HEHALLOWCHARGE
(1660) HE, Hallow Charge

See Also:
Constant Field Values

HEDOUBLEHALLOWCHARGE

public static final short HEDOUBLEHALLOWCHARGE
(1665) HE, Double Hallow Charge

See Also:
Constant Field Values

HEGENERALPURPOSE

public static final short HEGENERALPURPOSE
(1670) HE, General Purpose

See Also:
Constant Field Values

HEBLASTPENETRATOR

public static final short HEBLASTPENETRATOR
(1675) HE, Blast Penetrator

See Also:
Constant Field Values

HERODPENETRATOR

public static final short HERODPENETRATOR
(1680) HE, Rod Penetrator

See Also:
Constant Field Values

HEANTIPERSONNEL

public static final short HEANTIPERSONNEL
(1685) HE, Antipersonnel

See Also:
Constant Field Values

SMOKE

public static final short SMOKE
(2000) Smoke

See Also:
Constant Field Values

ILLUMINATION

public static final short ILLUMINATION
(3000) Illumination

See Also:
Constant Field Values

PRACTICE

public static final short PRACTICE
(4000) Practice

See Also:
Constant Field Values

KINETIC

public static final short KINETIC
(5000) Kinetic

See Also:
Constant Field Values

MINES

public static final short MINES
(6000) Mines

See Also:
Constant Field Values

NUCLEAR

public static final short NUCLEAR
(7000) Nuclear

See Also:
Constant Field Values

NUCLEARIMT

public static final short NUCLEARIMT
(7010) Nuclear, IMT

See Also:
Constant Field Values

CHEMICALGENERAL

public static final short CHEMICALGENERAL
(8000) Chemical, General

See Also:
Constant Field Values

CHEMICALBLISTERAGENT

public static final short CHEMICALBLISTERAGENT
(8100) Chemical, Blister Agent

See Also:
Constant Field Values

HD

public static final short HD
(8110) HD (Mustard)

See Also:
Constant Field Values

THICKENEDHD

public static final short THICKENEDHD
(8115) Thickened HD (Mustard)

See Also:
Constant Field Values

DUSTYHD

public static final short DUSTYHD
(8120) Dusty HD (Mustard)

See Also:
Constant Field Values

CHEMICALBLOODAGENT

public static final short CHEMICALBLOODAGENT
(8200) Chemical, Blood Agent

See Also:
Constant Field Values

AC

public static final short AC
(8210) AC (HCN)

See Also:
Constant Field Values

CK

public static final short CK
(8215) CK (CNCI)

See Also:
Constant Field Values

CG

public static final short CG
(8220) CG (Phosgene)

See Also:
Constant Field Values

CHEMICALNERVEAGENT

public static final short CHEMICALNERVEAGENT
(8300) Chemical, Nerve Agent

See Also:
Constant Field Values

VX

public static final short VX
(8310) VX

See Also:
Constant Field Values

THICKENEDVX

public static final short THICKENEDVX
(8315) Thickened VX

See Also:
Constant Field Values

DUSTYVX

public static final short DUSTYVX
(8320) Dusty VX

See Also:
Constant Field Values

GA

public static final short GA
(8325) GA (Tabun)

See Also:
Constant Field Values

THICKENEDGA

public static final short THICKENEDGA
(8330) Thickened GA (Tabun)

See Also:
Constant Field Values

DUSTYGA

public static final short DUSTYGA
(8335) Dusty GA (Tabun)

See Also:
Constant Field Values

GB

public static final short GB
(8340) GB (Sarin)

See Also:
Constant Field Values

THICKENEDGB

public static final short THICKENEDGB
(8345) Thickened GB (Sarin)

See Also:
Constant Field Values

DUSTYGB

public static final short DUSTYGB
(8350) Dusty GB (Sarin)

See Also:
Constant Field Values

GD

public static final short GD
(8355) GD (Soman)

See Also:
Constant Field Values

THICKENEDGD

public static final short THICKENEDGD
(8360) Thickened GD (Soman)

See Also:
Constant Field Values

DUSTYGD

public static final short DUSTYGD
(8365) Dusty GD (Soman)

See Also:
Constant Field Values

GF

public static final short GF
(8370) GF

See Also:
Constant Field Values

THICKENEDGF

public static final short THICKENEDGF
(8375) Thickened GF

See Also:
Constant Field Values

DUSTYGF

public static final short DUSTYGF
(8380) Dusty GF

See Also:
Constant Field Values

BIOLOGICAL

public static final short BIOLOGICAL
(9000) Biological

See Also:
Constant Field Values

BIOLOGICALVIRUS

public static final short BIOLOGICALVIRUS
(9100) Biological, Virus

See Also:
Constant Field Values

BIOLOGICALBACTERIA

public static final short BIOLOGICALBACTERIA
(9200) Biological, Bacteria

See Also:
Constant Field Values

BIOLOGICALRICKETTSIA

public static final short BIOLOGICALRICKETTSIA
(9300) Biological, Rickettsia

See Also:
Constant Field Values

BIOLOGICALGENETICALLYMODIFIEDMICROORGANISMS

public static final short BIOLOGICALGENETICALLYMODIFIEDMICROORGANISMS
(9400) Biological, Genetically Modified Micro-organisms

See Also:
Constant Field Values

BIOLOGICALTOXIN

public static final short BIOLOGICALTOXIN
(9500) Biological, Toxin

See Also:
Constant Field Values
Constructor Detail

WarheadField

public WarheadField()
Method Detail

toString

public static java.lang.String toString(int idNumber)
Returns a string containing the enumeration name which corresponds to an enumeration value, as in WarheadField.toString (0000) returns the string "OTHER"