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

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

public class EventTypeField
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/EventTypeField.java
Summary:
Event Type Field -- This field shall specify the type of event that caused the issue of an Event PDU. This field shall be represented by a 32-bit enumeration (see Section 7 in EBV-DOC).
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 EventTypeField.REQUESTFORINDIRECTFIREORCASMISSION; 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: Event Type 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 AGGREGATESTATECHANGEREQUESTED
          (15)
static long DAMAGE
          (4)
static long ENTITYINITIALIZATION
          (8)
static long FIREDISABLED
          (6)
static long INDIRECTFIREORCASFIRE
          (10)
static long KILLEDINACTION
          (3)
static long MINEFIELDDETONATION
          (12)
static long MINEFIELDENTRY
          (11)
static long MOBILITYDISABLED
          (5)
static long OTHER
          (0)
static long RANOUTOFAMMUNITION
          (2)
static long RANOUTOFFUEL
          (7)
static long REQUESTFORINDIRECTFIREORCASMISSION
          (9)
static long UNUSED
          (1) unused
static long VEHICLEMASTERPOWEROFF
          (14)
static long VEHICLEMASTERPOWERON
          (13)
 
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

OTHER

public static final long OTHER
(0) Other

UNUSED

public static final long UNUSED
(1) unused

INDIRECTFIREORCASFIRE

public static final long INDIRECTFIREORCASFIRE
(10) Indirect fire or CAS fire

MINEFIELDENTRY

public static final long MINEFIELDENTRY
(11) Minefield entry

MINEFIELDDETONATION

public static final long MINEFIELDDETONATION
(12) Minefield detonation

VEHICLEMASTERPOWERON

public static final long VEHICLEMASTERPOWERON
(13) Vehicle master power on

VEHICLEMASTERPOWEROFF

public static final long VEHICLEMASTERPOWEROFF
(14) Vehicle master power off

AGGREGATESTATECHANGEREQUESTED

public static final long AGGREGATESTATECHANGEREQUESTED
(15) Aggregate state change requested

RANOUTOFAMMUNITION

public static final long RANOUTOFAMMUNITION
(2) Ran out of ammunition

KILLEDINACTION

public static final long KILLEDINACTION
(3) Killed in action

DAMAGE

public static final long DAMAGE
(4) Damage

MOBILITYDISABLED

public static final long MOBILITYDISABLED
(5) Mobility disabled

FIREDISABLED

public static final long FIREDISABLED
(6) Fire disabled

RANOUTOFFUEL

public static final long RANOUTOFFUEL
(7) Ran out of fuel

ENTITYINITIALIZATION

public static final long ENTITYINITIALIZATION
(8) Entity initialization

REQUESTFORINDIRECTFIREORCASMISSION

public static final long REQUESTFORINDIRECTFIREORCASMISSION
(9) Request for indirect fire or CAS mission
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