Class TrafficIncident.VehicleRestriction
Class TrafficIncident.VehicleRestriction
- java.lang.Object
-
- com.here.sdk.traffic.TrafficIncident.VehicleRestriction
-
- Enclosing class:
- TrafficIncident
public static final class TrafficIncident.VehicleRestriction extends java.lang.ObjectThe vehicle restriction representing a vehicle category and relevant restriction rules.
-
-
Field Summary
Fields Modifier and Type Field Description booleanisCaravanRestrictedThe flag indicating if a driving with a caravan is restricted for vehicles of the matching category.booleanisDestinationInIncidentAreaRestrictedThe flag indicating if a traffic destination in the incident area is restricted for vehicles of the matching category.booleanisDieselFuelRestrictedThe flag indicating if diesel fuel is restricted for vehicles of the matching category.booleanisDrivingWithoutSnowChainsRestrictedThe flag indicating if a driving without snow chains is restricted for vehicles of the matching category.booleanisDrivingWithoutWinterTyresRestrictedThe flag indicating if a driving without winter tyres is restricted for vehicles of the matching category.booleanisEuro3EmissionStandardRestrictedThe flag indicating if euro3 and weaker emission standards are restricted for vehicles of the matching category.booleanisEuro4EmissionStandardRestrictedThe flag indicating if euro4 and weaker emission standards are restricted for vehicles of the matching category.booleanisEuro5EmissionStandardRestrictedThe flag indicating if euro5 and weaker emission standards are restricted for vehicles of the matching category.booleanisEvenNumberPlateRestrictedThe flag indicating if a plate with even number is restricted for vehicles of the matching category.booleanisLpgFuelRestrictedThe flag indicating if LPG fuel is restricted for vehicles of the matching category.booleanisOddNumberPlateRestrictedThe flag indicating if a plate with odd number is restricted for vehicles of the matching category.booleanisPetrolFuelRestrictedThe flag indicating if petrol fuel is restricted for vehicles of the matching category.booleanisResidentsTrafficRestrictedThe flag indicating if a residents traffic is restricted for vehicles of the matching category.booleanisRestrictedAlwaysThe flag indicating if vehicles of the matching category are restricted anyway (not depending on any vehicle parameter).booleanisThroughTrafficRestrictedThe flag indicating if a through traffic is restricted for vehicles of the matching category.booleanisTrailerRestrictedThe flag indicating if a driving with a trailer is restricted for vehicles of the matching category.java.lang.IntegerrestrictedIfAxleWeightLessThanInKilogramsVehicles of the matching category are restricted if the vehicle weight per axle is less than the weight in kilograms.java.lang.IntegerrestrictedIfAxleWeightMoreThanInKilogramsVehicles of the matching category are restricted if the vehicle weight per axle is more than the weight in kilograms.java.lang.IntegerrestrictedIfGrossWeightLessThanInKilogramsVehicles of the matching category are restricted if the vehicle gross weight is less than the weight in kilograms.java.lang.IntegerrestrictedIfGrossWeightMoreThanInKilogramsVehicles of the matching category are restricted if the vehicle gross weight is more than the weight in kilograms.java.lang.IntegerrestrictedIfHigherThanInCentimetersVehicles of the matching category are restricted if the vehicle is higher than the height in centimeters.java.lang.IntegerrestrictedIfLongerThanInCentimetersVehicles of the matching category are restricted if the vehicle is longer than the length in centimeters.java.lang.IntegerrestrictedIfLowerThanInCentimetersVehicles of the matching category are restricted if the vehicle is lower than the height in centimeters.java.lang.IntegerrestrictedIfNarrowerThanInCentimetersVehicles of the matching category are restricted if the vehicle is narrower than the width in centimeters.java.lang.IntegerrestrictedIfOccupantsFewerThanVehicles of the matching category are restricted if the occupants number is fewer than the value.java.lang.IntegerrestrictedIfOccupantsMoreThanVehicles of the matching category are restricted if the occupants number is more than the value.java.lang.IntegerrestrictedIfShorterThanInCentimetersVehicles of the matching category are restricted if the vehicle is shorter than the length in centimeters.java.lang.IntegerrestrictedIfWiderThanInCentimetersVehicles of the matching category are restricted if the vehicle is wider than the width in centimeters.
-
Constructor Summary
Constructors Constructor Description VehicleRestriction()Creates a new instance with default values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()
-
-
-
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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe 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
nullthe lower occupants bound is not specified.
-
-