mil.navy.nps.disEnumerations
Class FunctionField

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

public class FunctionField
extends java.lang.Object

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).

Version:
1.1
Author:
Ronan Fauglas, Don Brutzman
References:
DIS Data Dictionary: Function Field (local) Function 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 FunctionField.WEAPONLETHAL, 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:
FunctionField.java (local)
http://www.web3D.org/WorkingGroups/vrtp/mil/navy/nps/disEnumerations/FunctionField.java

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

OTHER

public static final short OTHER
(0) Other

See Also:
Constant Field Values

MULTIFUNCTION

public static final short MULTIFUNCTION
(1) Multi-function

See Also:
Constant Field Values

RADARALTIMETER

public static final short RADARALTIMETER
(10) Radar Altimeter

See Also:
Constant Field Values

IMAGING

public static final short IMAGING
(11) Imaging

See Also:
Constant Field Values

MOTIONDETECTION

public static final short MOTIONDETECTION
(12) Motion Detection

See Also:
Constant Field Values

NAVIGATION

public static final short NAVIGATION
(13) Navigation

See Also:
Constant Field Values

WEATHER

public static final short WEATHER
(14) Weather

See Also:
Constant Field Values

INSTRUMENTATION

public static final short INSTRUMENTATION
(15) Instrumentation

See Also:
Constant Field Values

IDENTIFICATIONCLASSIFICATION

public static final short IDENTIFICATIONCLASSIFICATION
(16) Identification/Classification

See Also:
Constant Field Values

EARLYWARNINGSURVEILLANCE

public static final short EARLYWARNINGSURVEILLANCE
(2) Early Warning/Surveillance

See Also:
Constant Field Values

HEIGHTFINDING

public static final short HEIGHTFINDING
(3) Height Finding

See Also:
Constant Field Values

FIRECONTROL

public static final short FIRECONTROL
(4) Fire Control

See Also:
Constant Field Values

ACQUISITIONDETECTION

public static final short ACQUISITIONDETECTION
(5) Acquisition/Detection

See Also:
Constant Field Values

TRACKING

public static final short TRACKING
(6) Tracking

See Also:
Constant Field Values

JAMMINGNOISE

public static final short JAMMINGNOISE
(64) Jamming, noise

See Also:
Constant Field Values

JAMMINGDECEPTION

public static final short JAMMINGDECEPTION
(65) Jamming, deception

See Also:
Constant Field Values

DECOY

public static final short DECOY
(66) Decoy

See Also:
Constant Field Values

GUIDANCEILLUMINATION

public static final short GUIDANCEILLUMINATION
(7) Guidance/Illumination

See Also:
Constant Field Values

FIRINGPOINTLAUNCHPOINTLOCATION

public static final short FIRINGPOINTLAUNCHPOINTLOCATION
(8) Firing point/launch point location

See Also:
Constant Field Values

RANGING

public static final short RANGING
(9) Ranging

See Also:
Constant Field Values

WEAPONNONLETHAL

public static final short WEAPONNONLETHAL
(96) Weapon, non-lethal

See Also:
Constant Field Values

WEAPONLETHAL

public static final short WEAPONLETHAL
(97) Weapon, lethal

See Also:
Constant Field Values
Constructor Detail

FunctionField

public FunctionField()
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 FunctionField.toString (0) returns the string "OTHER"