|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmil.navy.nps.disEnumerations.RepairCompleteCodesField
Repair Complete Codes Field -- Repair types shall be specified by a 16-bit enumeration. Values defined for this field are found in Section 6 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 RepairCompleteCodesField.LAUNCHERS
, i.e. combine
the class name, a period, and a class variable (enumeration) name.
Field Summary | |
static short |
AIRFRAME
(1010) airframe |
static short |
AIRSUPPLY
(8000) air supply |
static short |
ALLREQUESTEDREPAIRSPERFORMED
(1) all requested repairs performed |
static short |
ALTERNATOR
(30) alternator |
static short |
BATTERY
(50) battery |
static short |
BRAKES
(130) brakes |
static short |
CATAPULTS
(9030) catapults |
static short |
CHEMICALBIOLOGICALANDRADIOLOGICPROTECTION
(8040) chemical, biological, and radiologic protection |
static short |
COMMANDERSCONTROLHANDLESASSEMBLY
(2090) commander's control handles/assembly |
static short |
COMMANDERSEXTENSIONTOTHEGPS
(2030) commander's extension to the GPS |
static short |
COMMANDERSINDEPENDENTTHERMALVIEWER
(2110) commander's independent thermal viewer (CITV) |
static short |
COMMANDERSWEAPONSTATION
(2100) commander's weapon station |
static short |
COMMUNICATIONSYSTEMS
(5010) communication systems |
static short |
COMPUTERS
(5500) computers |
static short |
COOLINGSYSTEM
(9010) cooling system |
static short |
CRANES
(9040) cranes |
static short |
DECODERS
(5300) decoders |
static short |
DECONTAMINATIONSYSTEMS
(8060) decontamination systems |
static short |
DECRYPTIONDEVICES
(5350) decryption devices |
static short |
DETECTIONSYSTEMS
(4600) detection systems |
static short |
EJECTIONSEATS
(10020) ejection seats |
static short |
ELECTRONICSYSTEMS
(4800) electronic systems |
static short |
ELECTRONICWARFARESYSTEMS
(4500) electronic warfare systems |
static short |
ENCODERS
(5200) encoders |
static short |
ENCRYPTIONDEVICES
(5250) encryption devices |
static short |
ENGINECOOLANTLEAK
(60) engine-coolant leak |
static short |
ENGINEOILLEAK
(90) engine-oil leak |
static short |
FILTERS
(110) filters |
static short |
FILTERS2
(1520) filters |
static short |
FILTERS3
(8010) filters |
static short |
FIRECONTROLSYSTEMS
(6500) fire control systems |
static short |
FUELFILTER
(70) fuel filter |
static short |
FUELLINES
(4010) fuel lines |
static short |
FUELTRANSFERPUMP
(4000) fuel transfer pump |
static short |
GAUGES
(4020) gauges |
static short |
GENERALFUELSYSTEM
(4030) general fuel system |
static short |
GENERALWEAPONS
(2120) general weapons |
static short |
GENERATOR
(40) generator |
static short |
GUNELEVATIONDRIVE
(2000) gun elevation drive |
static short |
GUNNERSAUXILIARYSIGHT
(2050) gunner's auxiliary sight |
static short |
GUNNERSCONTROLASSEMBLYHANDLE
(2070) gunner's control assembly handle(s) |
static short |
GUNNERSCONTROLPANEL
(2060) gunner's control panel |
static short |
GUNNERSPRIMARYISGHT
(2020) gunner's primary isght (GPS) |
static short |
GUNSTABILIZATIONSYSTEM
(2010) gun stabilization system |
static short |
HULL
(1000) hull |
static short |
INFRARED
(4630) infrared |
static short |
INFRARED2
(4830) infrared |
static short |
INTERCOMS
(5100) intercoms |
static short |
LANDINGCRAFT
(10010) landing craft |
static short |
LASER
(4640) laser |
static short |
LASER2
(4840) laser |
static short |
LASERRANGEFINDER
(4720) laser range finder |
static short |
LAUNCHERS
(9050) launchers |
static short |
LIFEBOATS
(10000) life boats |
static short |
LOADINGMECHANISM
(2040) loading mechanism |
static short |
MICROWAVE
(4620) microwave |
static short |
MICROWAVE2
(4820) microwave |
static short |
MOTORENGINE
(10) motor / engine |
static short |
NAVIGATIONANDCONTROLSYSTEMS
(6000) navigation and control systems |
static short |
NOREPAIRSPERFORMED
(0) no repairs performed |
static short |
OILFILTER
(150) oil filter |
static short |
PROPELLER
(1500) propeller |
static short |
PUMPS
(100) pumps |
static short |
RADIOFREQUENCY
(4610) radio frequency |
static short |
RADIOFREQUENCY2
(4810) radio frequency |
static short |
RADIOS
(5000) radios |
static short |
RANGEFINDERS
(4700) range finders |
static short |
RANGEONLYRADAR
(4710) range-only radar |
static short |
REFRIGERATIONSYSTEM
(8030) refrigeration system |
static short |
STARTER
(20) starter |
static short |
SUSPENSIONSYSTEM
(140) suspension system |
static short |
TANKBODY
(1030) tank body |
static short |
TIRE
(1550) tire |
static short |
TRACK
(1560) track |
static short |
TRAILERBODY
(1040) trailer body |
static short |
TRANSMISSION
(120) transmission |
static short |
TRANSMISSIONOILLEAK
(80) transmission-oil leak |
static short |
TRUCKBODY
(1020) truck body |
static short |
TURRET
(1050) turret |
static short |
WATERSUPPLY
(8020) water supply |
static short |
WATERSUPPLY2
(9000) water supply |
static short |
WATERWASHDOWNSYSTEMS
(8050) water wash down systems |
static short |
WHEELS
(1540) wheels |
static short |
WINCHES
(9020) winches |
Constructor Summary | |
RepairCompleteCodesField()
|
Method Summary | |
static java.lang.String |
toString(int idNumber)
Returns a string containing the enumeration name which corresponds to an enumeration value, as in RepairCompleteCodesField.toString (0) returns the string "NOREPAIRSPERFORMED " |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final short NOREPAIRSPERFORMED
public static final short ALLREQUESTEDREPAIRSPERFORMED
public static final short MOTORENGINE
public static final short PUMPS
public static final short HULL
public static final short LIFEBOATS
public static final short LANDINGCRAFT
public static final short EJECTIONSEATS
public static final short AIRFRAME
public static final short TRUCKBODY
public static final short TANKBODY
public static final short TRAILERBODY
public static final short TURRET
public static final short FILTERS
public static final short TRANSMISSION
public static final short BRAKES
public static final short SUSPENSIONSYSTEM
public static final short OILFILTER
public static final short PROPELLER
public static final short FILTERS2
public static final short WHEELS
public static final short TIRE
public static final short TRACK
public static final short STARTER
public static final short GUNELEVATIONDRIVE
public static final short GUNSTABILIZATIONSYSTEM
public static final short GUNNERSPRIMARYISGHT
public static final short COMMANDERSEXTENSIONTOTHEGPS
public static final short LOADINGMECHANISM
public static final short GUNNERSAUXILIARYSIGHT
public static final short GUNNERSCONTROLPANEL
public static final short GUNNERSCONTROLASSEMBLYHANDLE
public static final short COMMANDERSCONTROLHANDLESASSEMBLY
public static final short COMMANDERSWEAPONSTATION
public static final short COMMANDERSINDEPENDENTTHERMALVIEWER
public static final short GENERALWEAPONS
public static final short ALTERNATOR
public static final short GENERATOR
public static final short FUELTRANSFERPUMP
public static final short FUELLINES
public static final short GAUGES
public static final short GENERALFUELSYSTEM
public static final short ELECTRONICWARFARESYSTEMS
public static final short DETECTIONSYSTEMS
public static final short RADIOFREQUENCY
public static final short MICROWAVE
public static final short INFRARED
public static final short LASER
public static final short RANGEFINDERS
public static final short RANGEONLYRADAR
public static final short LASERRANGEFINDER
public static final short ELECTRONICSYSTEMS
public static final short RADIOFREQUENCY2
public static final short MICROWAVE2
public static final short INFRARED2
public static final short LASER2
public static final short BATTERY
public static final short RADIOS
public static final short COMMUNICATIONSYSTEMS
public static final short INTERCOMS
public static final short ENCODERS
public static final short ENCRYPTIONDEVICES
public static final short DECODERS
public static final short DECRYPTIONDEVICES
public static final short COMPUTERS
public static final short ENGINECOOLANTLEAK
public static final short NAVIGATIONANDCONTROLSYSTEMS
public static final short FIRECONTROLSYSTEMS
public static final short FUELFILTER
public static final short TRANSMISSIONOILLEAK
public static final short AIRSUPPLY
public static final short FILTERS3
public static final short WATERSUPPLY
public static final short REFRIGERATIONSYSTEM
public static final short CHEMICALBIOLOGICALANDRADIOLOGICPROTECTION
public static final short WATERWASHDOWNSYSTEMS
public static final short DECONTAMINATIONSYSTEMS
public static final short ENGINEOILLEAK
public static final short WATERSUPPLY2
public static final short COOLINGSYSTEM
public static final short WINCHES
public static final short CATAPULTS
public static final short CRANES
public static final short LAUNCHERS
Constructor Detail |
public RepairCompleteCodesField()
Method Detail |
public static java.lang.String toString(int idNumber)
RepairCompleteCodesField.toString (0)
returns the string "NOREPAIRSPERFORMED
"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |