mil.navy.nps.disEnumerations
Class PduTypeField

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

public class PduTypeField
extends java.lang.Object

PDU Type Field -- This field shall indicate the type of PDU that follows.

Version:
1.1
Author:
Ronan Fauglas, Don Brutzman
References:
DIS Data Dictionary: PDU Type Field (local) PDU Type 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-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 PduTypeField.REPAIRCOMPLETE, 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
4oct2000 /Don Brutzman /renamed class from PDUTypeField to PduTypeField for consistency
Location:
PduTypeField.java (local)
http://www.web3D.org/WorkingGroups/vrtp/mil/navy/nps/disEnumerations/PduTypeField.java

Field Summary
static short ACKNOWLEDGE
          (15) Acknowledge
static short ACTIONREQUEST
          (16) Action Request
static short ACTIONRESPONSE
          (17) Action Response
static short AGGREGATE
          (170) Aggregate
static short ANNOUNCEOBJECT
          (129) Announce Object
static short APPEARANCEFI
          (141) Appearance-FI
static short AREALOBJECTSTATE
          (152) Areal Object State
static short ARTICULATEDPARTSFI
          (142) Articulated Parts - FI
static short COLLISION
          (4) Collision
static short COMMENT
          (22) Comment
static short CREATEENTITY
          (11) Create Entity
static short DATA
          (20) Data
static short DATAQUERY
          (18) Data Query
static short DELETEOBJECT
          (130) Delete Object
static short DESCRIBEAPPLICATION
          (131) Describe Application
static short DESCRIBEEVENT
          (132) Describe Event
static short DESCRIBEOBJECT
          (133) Describe Object
static short DESIGNATOR
          (24) Designator
static short DETONATION
          (3) Detonation
static short DETONATIONFI
          (144) Detonation - FI
static short ELECTROMAGNETICEMISSION
          (23) Electromagnetic Emission
static short ENTITYSTATE
          (1) Entity State
static short ENVIRONMENT
          (153) Environment
static short EVENTREPORT
          (21) Event Report
static short FIRE
          (2) Fire
static short FIREFI
          (143) Fire - FI
static short INTERCOMCONTROL
          (160) Intercom Control
static short INTERCOMSIGNAL
          (161) Intercom Signal
static short LINEAROBJECTSTATE
          (151) Linear Object State
static short OTHER
          (0) Other
static short POINTOBJECTSTATE
          (150) Point Object State
static short RECEIVER
          (27) Receiver
static short REMOVEENTITY
          (12) Remove Entity
static short REPAIRCOMPLETE
          (9) Repair Complete
static short REPAIRRESPONSE
          (10) Repair Response
static short REQUESTEVENT
          (134) Request Event
static short REQUESTOBJECT
          (135) Request Object
static short RESUPPLYCANCEL
          (8) Resupply Cancel
static short RESUPPLYOFFER
          (6) Resupply Offer
static short RESUPPLYRECEIVED
          (7) Resupply Received
static short SERVICEREQUEST
          (5) Service Request
static short SETDATA
          (19) Set Data
static short SIGNAL
          (26) Signal
static short STARTRESUME
          (13) Start/Resume
static short STOPFREEZE
          (14) Stop/Freeze
static short TIMESPACEPOSITIONINDICATORFI
          (140) Time Space Position Indicator - FI
static short TRANSFERCONTROL
          (156) Transfer Control
static short TRANSFERCONTROLACKNOWLEDGE
          (157) Transfer Control Acknowledge
static short TRANSFERCONTROLREQUEST
          (155) Transfer Control Request
static short TRANSMITTER
          (25) Transmitter
 
Constructor Summary
PduTypeField()
           
 
Method Summary
static java.lang.String toString(int idNumber)
          Returns a string containing the enumeration name which corresponds to an enumeration value, as in PduTypeField.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

ENTITYSTATE

public static final short ENTITYSTATE
(1) Entity State

See Also:
Constant Field Values

REPAIRRESPONSE

public static final short REPAIRRESPONSE
(10) Repair Response

See Also:
Constant Field Values

CREATEENTITY

public static final short CREATEENTITY
(11) Create Entity

See Also:
Constant Field Values

REMOVEENTITY

public static final short REMOVEENTITY
(12) Remove Entity

See Also:
Constant Field Values

ANNOUNCEOBJECT

public static final short ANNOUNCEOBJECT
(129) Announce Object

See Also:
Constant Field Values

STARTRESUME

public static final short STARTRESUME
(13) Start/Resume

See Also:
Constant Field Values

DELETEOBJECT

public static final short DELETEOBJECT
(130) Delete Object

See Also:
Constant Field Values

DESCRIBEAPPLICATION

public static final short DESCRIBEAPPLICATION
(131) Describe Application

See Also:
Constant Field Values

DESCRIBEEVENT

public static final short DESCRIBEEVENT
(132) Describe Event

See Also:
Constant Field Values

DESCRIBEOBJECT

public static final short DESCRIBEOBJECT
(133) Describe Object

See Also:
Constant Field Values

REQUESTEVENT

public static final short REQUESTEVENT
(134) Request Event

See Also:
Constant Field Values

REQUESTOBJECT

public static final short REQUESTOBJECT
(135) Request Object

See Also:
Constant Field Values

STOPFREEZE

public static final short STOPFREEZE
(14) Stop/Freeze

See Also:
Constant Field Values

TIMESPACEPOSITIONINDICATORFI

public static final short TIMESPACEPOSITIONINDICATORFI
(140) Time Space Position Indicator - FI

See Also:
Constant Field Values

APPEARANCEFI

public static final short APPEARANCEFI
(141) Appearance-FI

See Also:
Constant Field Values

ARTICULATEDPARTSFI

public static final short ARTICULATEDPARTSFI
(142) Articulated Parts - FI

See Also:
Constant Field Values

FIREFI

public static final short FIREFI
(143) Fire - FI

See Also:
Constant Field Values

DETONATIONFI

public static final short DETONATIONFI
(144) Detonation - FI

See Also:
Constant Field Values

ACKNOWLEDGE

public static final short ACKNOWLEDGE
(15) Acknowledge

See Also:
Constant Field Values

POINTOBJECTSTATE

public static final short POINTOBJECTSTATE
(150) Point Object State

See Also:
Constant Field Values

LINEAROBJECTSTATE

public static final short LINEAROBJECTSTATE
(151) Linear Object State

See Also:
Constant Field Values

AREALOBJECTSTATE

public static final short AREALOBJECTSTATE
(152) Areal Object State

See Also:
Constant Field Values

ENVIRONMENT

public static final short ENVIRONMENT
(153) Environment

See Also:
Constant Field Values

TRANSFERCONTROLREQUEST

public static final short TRANSFERCONTROLREQUEST
(155) Transfer Control Request

See Also:
Constant Field Values

TRANSFERCONTROL

public static final short TRANSFERCONTROL
(156) Transfer Control

See Also:
Constant Field Values

TRANSFERCONTROLACKNOWLEDGE

public static final short TRANSFERCONTROLACKNOWLEDGE
(157) Transfer Control Acknowledge

See Also:
Constant Field Values

ACTIONREQUEST

public static final short ACTIONREQUEST
(16) Action Request

See Also:
Constant Field Values

INTERCOMCONTROL

public static final short INTERCOMCONTROL
(160) Intercom Control

See Also:
Constant Field Values

INTERCOMSIGNAL

public static final short INTERCOMSIGNAL
(161) Intercom Signal

See Also:
Constant Field Values

ACTIONRESPONSE

public static final short ACTIONRESPONSE
(17) Action Response

See Also:
Constant Field Values

AGGREGATE

public static final short AGGREGATE
(170) Aggregate

See Also:
Constant Field Values

DATAQUERY

public static final short DATAQUERY
(18) Data Query

See Also:
Constant Field Values

SETDATA

public static final short SETDATA
(19) Set Data

See Also:
Constant Field Values

FIRE

public static final short FIRE
(2) Fire

See Also:
Constant Field Values

DATA

public static final short DATA
(20) Data

See Also:
Constant Field Values

EVENTREPORT

public static final short EVENTREPORT
(21) Event Report

See Also:
Constant Field Values

COMMENT

public static final short COMMENT
(22) Comment

See Also:
Constant Field Values

ELECTROMAGNETICEMISSION

public static final short ELECTROMAGNETICEMISSION
(23) Electromagnetic Emission

See Also:
Constant Field Values

DESIGNATOR

public static final short DESIGNATOR
(24) Designator

See Also:
Constant Field Values

TRANSMITTER

public static final short TRANSMITTER
(25) Transmitter

See Also:
Constant Field Values

SIGNAL

public static final short SIGNAL
(26) Signal

See Also:
Constant Field Values

RECEIVER

public static final short RECEIVER
(27) Receiver

See Also:
Constant Field Values

DETONATION

public static final short DETONATION
(3) Detonation

See Also:
Constant Field Values

COLLISION

public static final short COLLISION
(4) Collision

See Also:
Constant Field Values

SERVICEREQUEST

public static final short SERVICEREQUEST
(5) Service Request

See Also:
Constant Field Values

RESUPPLYOFFER

public static final short RESUPPLYOFFER
(6) Resupply Offer

See Also:
Constant Field Values

RESUPPLYRECEIVED

public static final short RESUPPLYRECEIVED
(7) Resupply Received

See Also:
Constant Field Values

RESUPPLYCANCEL

public static final short RESUPPLYCANCEL
(8) Resupply Cancel

See Also:
Constant Field Values

REPAIRCOMPLETE

public static final short REPAIRCOMPLETE
(9) Repair Complete

See Also:
Constant Field Values
Constructor Detail

PduTypeField

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