Enum Class RestrictionType

java.lang.Object
java.lang.Enum<RestrictionType>
com.here.sdk.transport.RestrictionType
All Implemented Interfaces:
Serializable, Comparable<RestrictionType>, Constable

public enum RestrictionType extends Enum<RestrictionType>

Type of vehicle restriction.

Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.

  • Enum Constant Details

    • WEIGHT

      public static final RestrictionType WEIGHT

      Actual weight, in kilograms.

    • GROSS_WEIGHT

      public static final RestrictionType GROSS_WEIGHT

      Gross vehicle mass, in kilograms.

    • WEIGHT_PER_AXLE

      public static final RestrictionType WEIGHT_PER_AXLE

      Weight per axle, in kilograms.

    • PAYLOAD_CAPACITY

      public static final RestrictionType PAYLOAD_CAPACITY

      Payload capacity weight, in kilograms.

    • EMPTY_WEIGHT

      public static final RestrictionType EMPTY_WEIGHT

      Empty vehicle weight (tare weight), in kilograms.

    • HEIGHT

      public static final RestrictionType HEIGHT

      A height, in centimeters.

    • WIDTH

      public static final RestrictionType WIDTH

      A width, in centimeters.

    • LENGTH

      public static final RestrictionType LENGTH

      A length, in centimeters.

    • KINGPIN_TO_REAR_AXLE_DISTANCE_IN_CENTIMETERS

      public static final RestrictionType KINGPIN_TO_REAR_AXLE_DISTANCE_IN_CENTIMETERS

      Distance from kingpin to rear axle, in centimeters.

    • WHEELS_PER_AXLE

      public static final RestrictionType WHEELS_PER_AXLE

      Wheels per axle.

    • DISTANCE_BETWEEN_AXLES

      public static final RestrictionType DISTANCE_BETWEEN_AXLES

      Distance between axles, in centimeters.

    • WEIGHT_PER_AXLE_COUNT

      public static final RestrictionType WEIGHT_PER_AXLE_COUNT

      Weight per number of axles, in kilograms. See VehicleRestriction.axleCount for information on number of axles.

    • WEIGHT_PER_AXLE_GROUP

      public static final RestrictionType WEIGHT_PER_AXLE_GROUP

      Weight per axle group, in kilograms. See VehicleRestriction.axleCountInGroup for information about axle group.

  • Method Details

    • values

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