Enum Class PlatformLandSingleUnitCargoTruckSubcategories
java.lang.Object
java.lang.Enum<PlatformLandSingleUnitCargoTruckSubcategories>
edu.nps.moves.dis7.enumerations.PlatformLandSingleUnitCargoTruckSubcategories
- All Implemented Interfaces:
SubCategory
,Serializable
,Comparable<PlatformLandSingleUnitCargoTruckSubcategories>
,Constable
public enum PlatformLandSingleUnitCargoTruckSubcategories
extends Enum<PlatformLandSingleUnitCargoTruckSubcategories>
implements SubCategory
This
enum
type is generated from XML,
UID 430, marshal size 8;
PlatformLandSingleUnitCargoTruckSubcategories has 32 enumerations total.
Subcategories for Land Platform Category 83- 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 ConstantDescriptionCargo TruckCargo Truck, over 10 TonCargo Truck, up to 10 TonCargo Truck, up to 2.5 TonCargo Truck, up to 5 TonCargo Truck, up to 7.5 TonDelivery TruckDelivery Truck, BoxDelivery Truck, FlatbedDelivery Truck, Stake BedMess TruckOtherPickup Truck, Cab ForwardPickup Truck, Crew CabPickup Truck, Extended CabPickup Truck, Full-SizePickup Truck, Long BedPickup Truck, Mid-SizePickup Truck, MiniRefrigerated Truck, LargeRefrigerated Truck, MediumRefrigerated Truck, SmallSemi-Trailer Cab (w/o Trailer)TankerTruck, Palletised Load System (PLS), https://en.wikipedia.org/wiki/Palletized_load_systemTruck, Petroleum, Oil, and Lubricants (POL) Palletised Load System (PLS)Truck, Petroleum, Oil, and Lubricants (POL), SurveillanceVanVan, CompactVan, DeliveryVan, ExtendedVan, Wheelchair -
Method Summary
Modifier and TypeMethodDescriptionProvide enumeration descriptionstatic int
bit width for this enumerationgetEnumForValue
(int value) Provide enumeration for a given valueint
Returns size of this serialized (marshalled) object in bytesgetName()
Provide nameboolean
getTRACE()
Whether tracing is on or off for this objectint
getValue()
Provide enumeration valuevoid
marshal
(DataOutputStream dos) Marshal value to DataOutputStreamvoid
marshal
(ByteBuffer byteBuffer) Marshal value to ByteBuffervoid
setTRACE
(boolean value) Set tracing on/off for this objecttoString()
Provide simple identifierUnmarshal value to DataInputStreamunmarshalEnum
(ByteBuffer byteBuffer) Unmarshal enumeration value to ByteBufferReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OTHER
Other -
PICKUP_TRUCK_MINI
Pickup Truck, Mini -
PICKUP_TRUCK_MID_SIZE
Pickup Truck, Mid-Size -
PICKUP_TRUCK_FULL_SIZE
Pickup Truck, Full-Size -
PICKUP_TRUCK_CREW_CAB
Pickup Truck, Crew Cab -
PICKUP_TRUCK_EXTENDED_CAB
Pickup Truck, Extended Cab -
PICKUP_TRUCK_LONG_BED
Pickup Truck, Long Bed -
PICKUP_TRUCK_CAB_FORWARD
Pickup Truck, Cab Forward -
CARGO_TRUCK
Cargo Truck -
CARGO_TRUCK_UP_TO_25_TON
Cargo Truck, up to 2.5 Ton -
CARGO_TRUCK_UP_TO_5_TON
Cargo Truck, up to 5 Ton -
CARGO_TRUCK_UP_TO_75_TON
Cargo Truck, up to 7.5 Ton -
CARGO_TRUCK_UP_TO_10_TON
Cargo Truck, up to 10 Ton -
CARGO_TRUCK_OVER_10_TON
Cargo Truck, over 10 Ton -
TANKER
Tanker -
SUPPLEMENTAL_EMISSION_ENTITY_STATE
public static final PlatformLandSingleUnitCargoTruckSubcategories SUPPLEMENTAL_EMISSION_ENTITY_STATESemi-Trailer Cab (w/o Trailer) -
VAN
Van -
VAN_EXTENDED
Van, Extended -
VAN_COMPACT
Van, Compact -
VAN_WHEELCHAIR
Van, Wheelchair -
VAN_DELIVERY
Van, Delivery -
DELIVERY_TRUCK
Delivery Truck -
DELIVERY_TRUCK_BOX
Delivery Truck, Box -
DELIVERY_TRUCK_FLATBED
Delivery Truck, Flatbed -
DELIVERY_TRUCK_STAKE_BED
Delivery Truck, Stake Bed -
MESS_TRUCK
Mess Truck -
TRUCK_PALLETISED_LOAD_SYSTEM_PLS
Truck, Palletised Load System (PLS), https://en.wikipedia.org/wiki/Palletized_load_system -
TRUCK_PETROLEUM_OIL_AND_LUBRICANTS_POL_PALLETISED_LOAD_SYSTEM_PLS
public static final PlatformLandSingleUnitCargoTruckSubcategories TRUCK_PETROLEUM_OIL_AND_LUBRICANTS_POL_PALLETISED_LOAD_SYSTEM_PLSTruck, Petroleum, Oil, and Lubricants (POL) Palletised Load System (PLS) -
TRUCK_PETROLEUM_OIL_AND_LUBRICANTS_POL_SURVEILLANCE
public static final PlatformLandSingleUnitCargoTruckSubcategories TRUCK_PETROLEUM_OIL_AND_LUBRICANTS_POL_SURVEILLANCETruck, Petroleum, Oil, and Lubricants (POL), Surveillance -
REFRIGERATED_TRUCK_SMALL
Refrigerated Truck, Small -
REFRIGERATED_TRUCK_MEDIUM
Refrigerated Truck, Medium -
REFRIGERATED_TRUCK_LARGE
Refrigerated Truck, Large
-
-
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- Specified by:
getValue
in interfaceSubCategory
- Returns:
- integer value
-
getDescription
Provide enumeration description- Specified by:
getDescription
in interfaceSubCategory
- Returns:
- description
-
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
-
setTRACE
public void setTRACE(boolean value) Set tracing on/off for this object- Parameters:
value
- whether tracing is on or off
-
getTRACE
public boolean getTRACE()Whether tracing is on or off for this object- Returns:
- whether tracing is on or off
-
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
public static PlatformLandSingleUnitCargoTruckSubcategories unmarshalEnum(DataInputStream dis) throws Exception Unmarshal value to DataInputStream- Parameters:
dis
- DataInputStream for input- Returns:
- enumeration of interest
- Throws:
Exception
- unmarshalling input-output error- See Also:
-
unmarshalEnum
public static PlatformLandSingleUnitCargoTruckSubcategories unmarshalEnum(ByteBuffer byteBuffer) throws Exception 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<PlatformLandSingleUnitCargoTruckSubcategories>
- Returns:
- class name, value and name
-