Enum Class TransportType

java.lang.Object
java.lang.Enum<TransportType>
com.veeroute.lss.studio.model.TransportType
All Implemented Interfaces:
Serializable, Comparable<TransportType>, Constable

public enum TransportType extends Enum<TransportType>
Transport types: * `CAR` - car * `TRUCK_1500` - truck with permissible weight 1500 kg * `TRUCK_3000` - truck with permissible weight 3000 kg * `TRUCK_5000` - truck with permissible weight 5000 kg * `TRUCK_10000` - truck with permissible weight 10000 kg * `TRUCK_20000` - truck with permissible weight 20000 kg * `TRUCK_10000_L75_H35_W24_6000` - a truck with a permitted weight of no more than 10,000 kg, dimensions of 7.5 x 3.5 x 2.4 meters, and a permissible axle load of 6,000 kg * `TRUCK_18000_L95_H40_W26_11000` - a truck with a permitted weight of no more than 18,000 kg, dimensions of 9.5 x 4.0 x 2.6 meters, and a permissible axle load of 11,000 kg * `TRUCK_26000_L120_H40_W26_8000` - a truck with a permitted weight of no more than 26,000 kg, dimensions of 12.0 x 4.0 x 2.6 meters, and a permissible axle load of 8000 kg * `TRUCK_GARBAGE_1` - truck for transporting garbage (type 1) * `TRUCK_GARBAGE_2` - truck for transporting garbage (type 2) * `TUK_TUK` - tuk-tuk * `BICYCLE` - bicycle * `PEDESTRIAN` - pedestrian * `PUBLIC_TRANSPORT` - public transport * `TELEPORT` - teleport (instant movement between points) Permissible weight is the weight of the equipped transport with cargo and driver, set by the manufacturer as the maximum allowable.
  • Enum Constant Details

    • CAR

      public static final TransportType CAR
    • TRUCK_1500

      public static final TransportType TRUCK_1500
    • TRUCK_3000

      public static final TransportType TRUCK_3000
    • TRUCK_5000

      public static final TransportType TRUCK_5000
    • TRUCK_10000

      public static final TransportType TRUCK_10000
    • TRUCK_20000

      public static final TransportType TRUCK_20000
    • TRUCK_10000_L75_H35_W24_6000

      public static final TransportType TRUCK_10000_L75_H35_W24_6000
    • TRUCK_18000_L95_H40_W26_11000

      public static final TransportType TRUCK_18000_L95_H40_W26_11000
    • TRUCK_26000_L120_H40_W26_8000

      public static final TransportType TRUCK_26000_L120_H40_W26_8000
    • TRUCK_GARBAGE_1

      public static final TransportType TRUCK_GARBAGE_1
    • TRUCK_GARBAGE_2

      public static final TransportType TRUCK_GARBAGE_2
    • TUK_TUK

      public static final TransportType TUK_TUK
    • BICYCLE

      public static final TransportType BICYCLE
    • PEDESTRIAN

      public static final TransportType PEDESTRIAN
    • PUBLIC_TRANSPORT

      public static final TransportType PUBLIC_TRANSPORT
    • TELEPORT

      public static final TransportType TELEPORT
  • Method Details

    • values

      public static TransportType[] 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

      public static TransportType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TransportType>
    • fromValue

      public static TransportType fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException