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

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

public class ProtocolFamilyField
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/ProtocolFamilyField.java
Summary:
Protocol Family Field -- This field shall indicate the family of protocols to which the PDU belongs
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 ProtocolFamilyField.DISTRIBUTEDEMISSIONREGENERATION; 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: Protocol Family 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 short DISTRIBUTEDEMISSIONREGENERATION
          (6)
static short ENTITYINFORMATIONINTERACTION
          (1)
static short EXPERIMENTALCGF
          (129)
static short EXPERIMENTALENTITYINTERACTIONINFORMATIONFIELDINSTRUMENTATION
          (130)
static short EXPERIMENTALENTITYMANAGEMENT
          (133)
static short EXPERIMENTALENVIRONMENTOBJECTINFORMATIONINTERACTION
          (132)
static short EXPERIMENTALWARFAREFIELDINSTRUMENTATION
          (131)
static short LOGISTICS
          (3)
static short OTHER
          (0) other
static short RADIOCOMMUNICATION
          (4)
static short SIMULATIONMANAGEMENT
          (5)
static short WARFARE
          (2)
 
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 short OTHER
(0) other

ENTITYINFORMATIONINTERACTION

public static final short ENTITYINFORMATIONINTERACTION
(1) Entity Information/Interaction

EXPERIMENTALCGF

public static final short EXPERIMENTALCGF
(129) Experimental - CGF

EXPERIMENTALENTITYINTERACTIONINFORMATIONFIELDINSTRUMENTATION

public static final short EXPERIMENTALENTITYINTERACTIONINFORMATIONFIELDINSTRUMENTATION
(130) Experimental - Entity Interaction/Information - Field Instrumentation

EXPERIMENTALWARFAREFIELDINSTRUMENTATION

public static final short EXPERIMENTALWARFAREFIELDINSTRUMENTATION
(131) Experimental - Warfare Field Instrumentation

EXPERIMENTALENVIRONMENTOBJECTINFORMATIONINTERACTION

public static final short EXPERIMENTALENVIRONMENTOBJECTINFORMATIONINTERACTION
(132) Experimental - Environment Object Information/Interaction

EXPERIMENTALENTITYMANAGEMENT

public static final short EXPERIMENTALENTITYMANAGEMENT
(133) Experimental - Entity Management

WARFARE

public static final short WARFARE
(2) Warfare

LOGISTICS

public static final short LOGISTICS
(3) Logistics

RADIOCOMMUNICATION

public static final short RADIOCOMMUNICATION
(4) Radio Communication

SIMULATIONMANAGEMENT

public static final short SIMULATIONMANAGEMENT
(5) Simulation Management

DISTRIBUTEDEMISSIONREGENERATION

public static final short DISTRIBUTEDEMISSIONREGENERATION
(6) Distributed Emission Regeneration
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