Class TrafficIncident.VehicleRestriction

  • java.lang.Object
    • com.here.sdk.traffic.TrafficIncident.VehicleRestriction
  • Enclosing class:
    TrafficIncident

    public static final class TrafficIncident.VehicleRestriction
    extends java.lang.Object

    The vehicle restriction representing a vehicle category and relevant restriction rules.

    • Field Detail

      • isRestrictedAlways

        public boolean isRestrictedAlways

        The flag indicating if vehicles of the matching category are restricted anyway (not depending on any vehicle parameter).

      • isDieselFuelRestricted

        public boolean isDieselFuelRestricted

        The flag indicating if diesel fuel is restricted for vehicles of the matching category.

      • isPetrolFuelRestricted

        public boolean isPetrolFuelRestricted

        The flag indicating if petrol fuel is restricted for vehicles of the matching category.

      • isLpgFuelRestricted

        public boolean isLpgFuelRestricted

        The flag indicating if LPG fuel is restricted for vehicles of the matching category.

      • isCaravanRestricted

        public boolean isCaravanRestricted

        The flag indicating if a driving with a caravan is restricted for vehicles of the matching category.

      • isTrailerRestricted

        public boolean isTrailerRestricted

        The flag indicating if a driving with a trailer is restricted for vehicles of the matching category.

      • isDrivingWithoutSnowChainsRestricted

        public boolean isDrivingWithoutSnowChainsRestricted

        The flag indicating if a driving without snow chains is restricted for vehicles of the matching category.

      • isDrivingWithoutWinterTyresRestricted

        public boolean isDrivingWithoutWinterTyresRestricted

        The flag indicating if a driving without winter tyres is restricted for vehicles of the matching category.

      • isEvenNumberPlateRestricted

        public boolean isEvenNumberPlateRestricted

        The flag indicating if a plate with even number is restricted for vehicles of the matching category.

      • isOddNumberPlateRestricted

        public boolean isOddNumberPlateRestricted

        The flag indicating if a plate with odd number is restricted for vehicles of the matching category.

      • isThroughTrafficRestricted

        public boolean isThroughTrafficRestricted

        The flag indicating if a through traffic is restricted for vehicles of the matching category.

      • isResidentsTrafficRestricted

        public boolean isResidentsTrafficRestricted

        The flag indicating if a residents traffic is restricted for vehicles of the matching category.

      • isDestinationInIncidentAreaRestricted

        public boolean isDestinationInIncidentAreaRestricted

        The flag indicating if a traffic destination in the incident area is restricted for vehicles of the matching category.

      • isEuro3EmissionStandardRestricted

        public boolean isEuro3EmissionStandardRestricted

        The flag indicating if euro3 and weaker emission standards are restricted for vehicles of the matching category.

      • isEuro4EmissionStandardRestricted

        public boolean isEuro4EmissionStandardRestricted

        The flag indicating if euro4 and weaker emission standards are restricted for vehicles of the matching category.

      • isEuro5EmissionStandardRestricted

        public boolean isEuro5EmissionStandardRestricted

        The flag indicating if euro5 and weaker emission standards are restricted for vehicles of the matching category.

      • restrictedIfGrossWeightMoreThanInKilograms

        @Nullable
        public java.lang.Integer restrictedIfGrossWeightMoreThanInKilograms

        Vehicles of the matching category are restricted if the vehicle gross weight is more than the weight in kilograms. If the value is null the upper gross weight bound is not specified.

      • restrictedIfGrossWeightLessThanInKilograms

        @Nullable
        public java.lang.Integer restrictedIfGrossWeightLessThanInKilograms

        Vehicles of the matching category are restricted if the vehicle gross weight is less than the weight in kilograms. If the value is null the lower gross weight bound is not specified.

      • restrictedIfAxleWeightMoreThanInKilograms

        @Nullable
        public java.lang.Integer restrictedIfAxleWeightMoreThanInKilograms

        Vehicles of the matching category are restricted if the vehicle weight per axle is more than the weight in kilograms. If the value is null the upper weight per axle bound is not specified.

      • restrictedIfAxleWeightLessThanInKilograms

        @Nullable
        public java.lang.Integer restrictedIfAxleWeightLessThanInKilograms

        Vehicles of the matching category are restricted if the vehicle weight per axle is less than the weight in kilograms. If the value is null the lower weight per axle bound is not specified.

      • restrictedIfLongerThanInCentimeters

        @Nullable
        public java.lang.Integer restrictedIfLongerThanInCentimeters

        Vehicles of the matching category are restricted if the vehicle is longer than the length in centimeters. If the value is null the upper length bound is not specified.

      • restrictedIfShorterThanInCentimeters

        @Nullable
        public java.lang.Integer restrictedIfShorterThanInCentimeters

        Vehicles of the matching category are restricted if the vehicle is shorter than the length in centimeters. If the value is null the lower length bound is not specified.

      • restrictedIfHigherThanInCentimeters

        @Nullable
        public java.lang.Integer restrictedIfHigherThanInCentimeters

        Vehicles of the matching category are restricted if the vehicle is higher than the height in centimeters. If the value is null the upper height bound is not specified.

      • restrictedIfLowerThanInCentimeters

        @Nullable
        public java.lang.Integer restrictedIfLowerThanInCentimeters

        Vehicles of the matching category are restricted if the vehicle is lower than the height in centimeters. If the value is null the lower height bound is not specified.

      • restrictedIfWiderThanInCentimeters

        @Nullable
        public java.lang.Integer restrictedIfWiderThanInCentimeters

        Vehicles of the matching category are restricted if the vehicle is wider than the width in centimeters. If the value is null the upper width bound is not specified.

      • restrictedIfNarrowerThanInCentimeters

        @Nullable
        public java.lang.Integer restrictedIfNarrowerThanInCentimeters

        Vehicles of the matching category are restricted if the vehicle is narrower than the width in centimeters. If the value is null the lower width bound is not specified.

      • restrictedIfOccupantsMoreThan

        @Nullable
        public java.lang.Integer restrictedIfOccupantsMoreThan

        Vehicles of the matching category are restricted if the occupants number is more than the value. If the value is null the upper occupants bound is not specified.

      • restrictedIfOccupantsFewerThan

        @Nullable
        public java.lang.Integer restrictedIfOccupantsFewerThan

        Vehicles of the matching category are restricted if the occupants number is fewer than the value. If the value is null the lower occupants bound is not specified.

    • Constructor Detail

      • VehicleRestriction

        public VehicleRestriction()

        Creates a new instance with default values.

    • 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