Enum Class IsPartOfStationName
- All Implemented Interfaces:
Serializable
,Comparable<IsPartOfStationName>
,Constable
This
enum
type is generated from XML,
UID 212,
marshal size 16;
IsPartOfStationName has 23 enumerations total.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAerial Refueling ReceptacleAft Torpedo TubeAir Refueling ProbeAir-to-Air Refueling BoomAircraft WingstationBomb BayCargo BayCenter Refueling DrogueForward Torpedo TubeOn Station Range and BearingOn Station xyzOtherPort Side Refueling DrogueShip's Aft Gunmount (Centerline)Ship's Aft Gunmount (Port)Ship's Aft Gunmount (Starboard)Ship's Forward Gunmount (Centerline)Ship's Forward Gunmount (Port)Ship's Forward Gunmount (Starboard)Starboard Side Refueling DrogueTrailer BedTruck BedWell Deck -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationstatic IsPartOfStationName
getEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffertoString()
Provide simple identifierstatic IsPartOfStationName
Unmarshal value to DataInputStreamstatic IsPartOfStationName
unmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferstatic IsPartOfStationName
Returns the enum constant of this class with the specified name.static IsPartOfStationName[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
AIRCRAFT_WINGSTATION
Aircraft Wingstation -
SHIPS_FORWARD_GUNMOUNT_STARBOARD
Ship's Forward Gunmount (Starboard) -
SHIPS_FORWARD_GUNMOUNT_PORT
Ship's Forward Gunmount (Port) -
SHIPS_FORWARD_GUNMOUNT_CENTERLINE
Ship's Forward Gunmount (Centerline) -
SHIPS_AFT_GUNMOUNT_STARBOARD
Ship's Aft Gunmount (Starboard) -
SHIPS_AFT_GUNMOUNT_PORT
Ship's Aft Gunmount (Port) -
SHIPS_AFT_GUNMOUNT_CENTERLINE
Ship's Aft Gunmount (Centerline) -
FORWARD_TORPEDO_TUBE
Forward Torpedo Tube -
AFT_TORPEDO_TUBE
Aft Torpedo Tube -
BOMB_BAY
Bomb Bay -
CARGO_BAY
Cargo Bay -
TRUCK_BED
Truck Bed -
TRAILER_BED
Trailer Bed -
WELL_DECK
Well Deck -
ON_STATION_RANGE_AND_BEARING
On Station Range and Bearing -
ON_STATION_XYZ
On Station xyz -
AIR_TO_AIR_REFUELING_BOOM
Air-to-Air Refueling Boom -
AERIAL_REFUELING_RECEPTACLE
Aerial Refueling Receptacle -
PORT_SIDE_REFUELING_DROGUE
Port Side Refueling Drogue -
STARBOARD_SIDE_REFUELING_DROGUE
Starboard Side Refueling Drogue -
CENTER_REFUELING_DROGUE
Center Refueling Drogue -
AIR_REFUELING_PROBE
Air Refueling Probe
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()Provide enumeration value- Returns:
- integer value
-
getDescription
-
getEnumBitWidth
public static int getEnumBitWidth()bit width for this enumeration- Returns:
- number of bits wide
-
getEnumForValue
Provide enumeration for a given value- Parameters:
value
- integer value of interest- Returns:
- enumeration corresponding to numeric value
-
marshal
Marshal value to DataOutputStream- Parameters:
dos
- DataOutputStream for output- Throws:
IOException
- input-output error- See Also:
-
marshal
Marshal value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for output- Throws:
IOException
- input-output errorException
- See Also:
-
unmarshalEnum
Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
Unmarshal enumeration value to ByteBuffer- Parameters:
byteBuffer
- ByteBuffer for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
getMarshalledSize
public int getMarshalledSize()Returns size of this serialized (marshalled) object in bytes- Returns:
- serialized size in bytes
- See Also:
-
getName
-
toString
Provide simple identifier- Overrides:
toString
in classEnum<IsPartOfStationName>
- Returns:
- ID number and name
-