Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD

Class mil.navy.nps.disEnumerations.
ParameterTypeAttachedPartsField

java.lang.Object
  |
  +--mil.navy.nps.disEnumerations.ParameterTypeAttachedPartsField

public class ParameterTypeAttachedPartsField
extends java.lang.Object
Version:
1.0
Author:
Ronan Fauglas (http://www.stl.nps.navy.mil/~fauglas)
Location:
http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/disEnumerations/ParameterTypeAttachedPartsField.java
Summary:
Parameter Type Attached Parts Field -- This record represents one of the varients of the Parameter Type Varient, its values are used only when the Parameter Type is Attached Part (1).
Explanation:
This file has been automatically generated from the DIS Data Dictionary html source file by disconvertJdbeDisEnumerationsToJava.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, 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 ParameterTypeAttachedPartsField.M2MACHINEGUN; the class name, a period, and the class variable name.

History:
21jan98 /Ronan Fauglas /New-generated automatically by convertJdbeDisEnumerationsToJava.pl
References:
JDBE:DIS Data Dictionary Version 1.0a(DIS-DD)
DIS Data Dictionary: Parameter Type Attached Parts Field
convertJdbeDisEnumerationsToJava.pl Perl script (converting html enumerations to java enumerations) http://www.stl.nps.navy.mil/dis-java-vrml/mil/navy/nps/disEnumerations/convertJdbeDisEnumerationsToJava.pl

Field Summary
static long AAWSMJAVELIN
          (902)
static long M136AT4
          (900)
static long M16A42RIFLE
          (896)
static long M18A1CLAYMOREMINE
          (903)
static long M203GRENADELAUNCHER
          (899)
static long M249SAW
          (897)
static long M2MACHINEGUN
          (905)
static long M47DRAGON
          (901)
static long M60MACHINEGUN
          (898)
static long MK19GRENADELAUNCHER
          (904)
static long NOTHINGEMPTY
          (0)
 
Method Summary
java.lang.String toString(int idNumber)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait
 

Field Detail

NOTHINGEMPTY

public static final long NOTHINGEMPTY
(0) Nothing, Empty

M16A42RIFLE

public static final long M16A42RIFLE
(896) M16A42 rifle

M249SAW

public static final long M249SAW
(897) M249 SAW

M60MACHINEGUN

public static final long M60MACHINEGUN
(898) M60 Machine gun

M203GRENADELAUNCHER

public static final long M203GRENADELAUNCHER
(899) M203 Grenade Launcher

M136AT4

public static final long M136AT4
(900) M136 AT4

M47DRAGON

public static final long M47DRAGON
(901) M47 Dragon

AAWSMJAVELIN

public static final long AAWSMJAVELIN
(902) AAWS-M Javelin

M18A1CLAYMOREMINE

public static final long M18A1CLAYMOREMINE
(903) M18A1 Claymore Mine

MK19GRENADELAUNCHER

public static final long MK19GRENADELAUNCHER
(904) MK19 Grenade Launcher

M2MACHINEGUN

public static final long M2MACHINEGUN
(905) M2 Machine Gun
Method Detail

toString

public java.lang.String toString(int idNumber)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS | NEXT CLASS FRAMES  | NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD DETAIL:  FIELD | CONSTR | METHOD