|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmil.navy.nps.disEnumerations.FunctionField
Function Field -- This field shall specify the function for a particular emitter. Typical functions include airborne fire control, ground surveillance radar, etc. This field is intended to help receiving entities determine if the Electromagnetic Emission PDU is of interest to the systems simulated by that entity. This field shall be represented by an 8-bit enumeration (see Section 8 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 FunctionField.WEAPONLETHAL
, i.e. combine
the class name, a period, and a class variable (enumeration) name.
Field Summary | |
static short |
ACQUISITIONDETECTION
(5) Acquisition/Detection |
static short |
DECOY
(66) Decoy |
static short |
EARLYWARNINGSURVEILLANCE
(2) Early Warning/Surveillance |
static short |
FIRECONTROL
(4) Fire Control |
static short |
FIRINGPOINTLAUNCHPOINTLOCATION
(8) Firing point/launch point location |
static short |
GUIDANCEILLUMINATION
(7) Guidance/Illumination |
static short |
HEIGHTFINDING
(3) Height Finding |
static short |
IDENTIFICATIONCLASSIFICATION
(16) Identification/Classification |
static short |
IMAGING
(11) Imaging |
static short |
INSTRUMENTATION
(15) Instrumentation |
static short |
JAMMINGDECEPTION
(65) Jamming, deception |
static short |
JAMMINGNOISE
(64) Jamming, noise |
static short |
MOTIONDETECTION
(12) Motion Detection |
static short |
MULTIFUNCTION
(1) Multi-function |
static short |
NAVIGATION
(13) Navigation |
static short |
OTHER
(0) Other |
static short |
RADARALTIMETER
(10) Radar Altimeter |
static short |
RANGING
(9) Ranging |
static short |
TRACKING
(6) Tracking |
static short |
WEAPONLETHAL
(97) Weapon, lethal |
static short |
WEAPONNONLETHAL
(96) Weapon, non-lethal |
static short |
WEATHER
(14) Weather |
Constructor Summary | |
FunctionField()
|
Method Summary | |
static java.lang.String |
toString(int idNumber)
Returns a string containing the enumeration name which corresponds to an enumeration value, as in FunctionField.toString (0) 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 MULTIFUNCTION
public static final short RADARALTIMETER
public static final short IMAGING
public static final short MOTIONDETECTION
public static final short NAVIGATION
public static final short WEATHER
public static final short INSTRUMENTATION
public static final short IDENTIFICATIONCLASSIFICATION
public static final short EARLYWARNINGSURVEILLANCE
public static final short HEIGHTFINDING
public static final short FIRECONTROL
public static final short ACQUISITIONDETECTION
public static final short TRACKING
public static final short JAMMINGNOISE
public static final short JAMMINGDECEPTION
public static final short DECOY
public static final short GUIDANCEILLUMINATION
public static final short FIRINGPOINTLAUNCHPOINTLOCATION
public static final short RANGING
public static final short WEAPONNONLETHAL
public static final short WEAPONLETHAL
Constructor Detail |
public FunctionField()
Method Detail |
public static java.lang.String toString(int idNumber)
FunctionField.toString (0)
returns the string "OTHER
"
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |