Class MaxAxleGroupWeight

  • java.lang.Object
    • com.here.sdk.routing.MaxAxleGroupWeight

  • public final class MaxAxleGroupWeight
    extends java.lang.Object

    MaxAxleGroupWeight contains all the restriction details violated by an axle group weight.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String axleGroupType
      Type of the restriction's axle group
      int maxWeightInKilograms
      Limit of the axle weight in kilograms
    • Constructor Summary

      Constructors 
      Constructor Description
      MaxAxleGroupWeight​(int maxWeightInKilograms, java.lang.String axleGroupType)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • maxWeightInKilograms

        public int maxWeightInKilograms

        Limit of the axle weight in kilograms

      • axleGroupType

        @NonNull
        public java.lang.String axleGroupType

        Type of the restriction's axle group

    • Constructor Detail

      • MaxAxleGroupWeight

        public MaxAxleGroupWeight​(int maxWeightInKilograms,
                                  @NonNull
                                  java.lang.String axleGroupType)

        Creates a new instance.

        Parameters:
        maxWeightInKilograms -

        Limit of the axle weight in kilograms

        axleGroupType -

        Type of the restriction's axle group

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object