|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmil.navy.nps.disEnumerations.WarheadField
Warhead Field -- The warhead shall be specified by a 16-bit enumeration(see Section 5 in EBV-DOC)
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.
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 |
public static final short OTHER
public static final short CARGO
public static final short FUELAIREXPLOSIVE
public static final short GLASSBLADS
public static final short ENUMERATION1UM
public static final short ENUMERATION5UM
public static final short ENUMERATION10UM
public static final short HIGHEXPLOSIVE
public static final short HEPLASTIC
public static final short HEINCENDIARY
public static final short HEFRAGMENTATION
public static final short HEANTITANK
public static final short HEBOMBLETS
public static final short HESHAPEDCHARGE
public static final short HECONTINUOUSROD
public static final short HETUNGSTENBALL
public static final short HEBLASTFRAGMENTATION
public static final short HESTEERABLEDARTSWITHHE
public static final short HEDARTS
public static final short HEFLECHETTES
public static final short HEDIRECTEDFRAGMENTATION
public static final short HESEMIARMORPIERCING
public static final short HESHAPEDCHARGEFRAGMENTATION
public static final short HESEMIARMORPIERCINGFRAGMENTATION
public static final short HEHALLOWCHARGE
public static final short HEDOUBLEHALLOWCHARGE
public static final short HEGENERALPURPOSE
public static final short HEBLASTPENETRATOR
public static final short HERODPENETRATOR
public static final short HEANTIPERSONNEL
public static final short SMOKE
public static final short ILLUMINATION
public static final short PRACTICE
public static final short KINETIC
public static final short MINES
public static final short NUCLEAR
public static final short NUCLEARIMT
public static final short CHEMICALGENERAL
public static final short CHEMICALBLISTERAGENT
public static final short HD
public static final short THICKENEDHD
public static final short DUSTYHD
public static final short CHEMICALBLOODAGENT
public static final short AC
public static final short CK
public static final short CG
public static final short CHEMICALNERVEAGENT
public static final short VX
public static final short THICKENEDVX
public static final short DUSTYVX
public static final short GA
public static final short THICKENEDGA
public static final short DUSTYGA
public static final short GB
public static final short THICKENEDGB
public static final short DUSTYGB
public static final short GD
public static final short THICKENEDGD
public static final short DUSTYGD
public static final short GF
public static final short THICKENEDGF
public static final short DUSTYGF
public static final short BIOLOGICAL
public static final short BIOLOGICALVIRUS
public static final short BIOLOGICALBACTERIA
public static final short BIOLOGICALRICKETTSIA
public static final short BIOLOGICALGENETICALLYMODIFIEDMICROORGANISMS
public static final short BIOLOGICALTOXIN
Constructor Detail |
public WarheadField()
Method Detail |
public static java.lang.String toString(int idNumber)
WarheadField.toString (0000)
returns the string "OTHER
"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |