Enum Class WeightRestrictionType

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

public enum WeightRestrictionType extends Enum<WeightRestrictionType>

Defines the type of a weight restriction.

  • Enum Constant Details

    • TRUCK_WEIGHT

      public static final WeightRestrictionType TRUCK_WEIGHT

      A weight restriction.

    • WEIGHT_PER_AXLE

      public static final WeightRestrictionType WEIGHT_PER_AXLE

      A weight per axle restriction.

    • PAYLOAD_CAPACITY

      public static final WeightRestrictionType PAYLOAD_CAPACITY

      Payload capacity weight restriction.

  • Method Details

    • values

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