RestrictionType (API Reference)
Package com.here.sdk.transport
Enum Class RestrictionType
- All Implemented Interfaces:
Serializable,Comparable<RestrictionType>,Constable
Type of vehicle restriction.
Note: This is a beta release of this feature. Related APIs may change for new releases without a deprecation process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDistance between axles, in centimeters.Empty vehicle weight (tare weight), in kilograms.Gross vehicle mass, in kilograms.A height, in centimeters.Distance from kingpin to rear axle, in centimeters.A length, in centimeters.Payload capacity weight, in kilograms.Actual weight, in kilograms.Weight per axle, in kilograms.Weight per number of axles, in kilograms.Weight per axle group, in kilograms.Wheels per axle.A width, in centimeters. -
Method Summary
Modifier and TypeMethodDescriptionstatic RestrictionTypeReturns the enum constant of this class with the specified name.static RestrictionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WEIGHT
Actual weight, in kilograms.
-
GROSS_WEIGHT
Gross vehicle mass, in kilograms.
-
WEIGHT_PER_AXLE
Weight per axle, in kilograms.
-
PAYLOAD_CAPACITY
Payload capacity weight, in kilograms.
-
EMPTY_WEIGHT
Empty vehicle weight (tare weight), in kilograms.
-
HEIGHT
A height, in centimeters.
-
WIDTH
A width, in centimeters.
-
LENGTH
A length, in centimeters.
-
KINGPIN_TO_REAR_AXLE_DISTANCE_IN_CENTIMETERS
Distance from kingpin to rear axle, in centimeters.
-
WHEELS_PER_AXLE
Wheels per axle.
-
DISTANCE_BETWEEN_AXLES
Distance between axles, in centimeters.
-
WEIGHT_PER_AXLE_COUNT
Weight per number of axles, in kilograms. See
VehicleRestriction.axleCountfor information on number of axles. -
WEIGHT_PER_AXLE_GROUP
Weight per axle group, in kilograms. See
VehicleRestriction.axleCountInGroupfor information about axle group.
-
-
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
-