TrafficIncident.VehicleRestriction (API Reference)
Class TrafficIncident.VehicleRestriction
- Enclosing class:
- TrafficIncident
The vehicle restriction representing a vehicle category and relevant restriction rules.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanThe flag indicating if a driving with a caravan is restricted for vehicles of the matching category.booleanThe flag indicating if a traffic destination in the incident area is restricted for vehicles of the matching category.booleanThe flag indicating if diesel fuel is restricted for vehicles of the matching category.booleanThe flag indicating if a driving without snow chains is restricted for vehicles of the matching category.booleanThe flag indicating if a driving without winter tyres is restricted for vehicles of the matching category.booleanThe flag indicating if euro3 and weaker emission standards are restricted for vehicles of the matching category.booleanThe flag indicating if euro4 and weaker emission standards are restricted for vehicles of the matching category.booleanThe flag indicating if euro5 and weaker emission standards are restricted for vehicles of the matching category.booleanThe flag indicating if a plate with even number is restricted for vehicles of the matching category.booleanThe flag indicating if LPG fuel is restricted for vehicles of the matching category.booleanThe flag indicating if a plate with odd number is restricted for vehicles of the matching category.booleanThe flag indicating if petrol fuel is restricted for vehicles of the matching category.booleanThe flag indicating if a residents traffic is restricted for vehicles of the matching category.booleanThe flag indicating if vehicles of the matching category are restricted anyway (not depending on any vehicle parameter).booleanThe flag indicating if a through traffic is restricted for vehicles of the matching category.booleanThe flag indicating if a driving with a trailer is restricted for vehicles of the matching category.Vehicles of the matching category are restricted if the vehicle weight per axle is less than the weight in kilograms.Vehicles of the matching category are restricted if the vehicle weight per axle is more than the weight in kilograms.Vehicles of the matching category are restricted if the vehicle gross weight is less than the weight in kilograms.Vehicles of the matching category are restricted if the vehicle gross weight is more than the weight in kilograms.Vehicles of the matching category are restricted if the vehicle is higher than the height in centimeters.Vehicles of the matching category are restricted if the vehicle is longer than the length in centimeters.Vehicles of the matching category are restricted if the vehicle is lower than the height in centimeters.Vehicles of the matching category are restricted if the vehicle is narrower than the width in centimeters.Vehicles of the matching category are restricted if the occupants number is fewer than the value.Vehicles of the matching category are restricted if the occupants number is more than the value.Vehicles of the matching category are restricted if the vehicle is shorter than the length in centimeters.Vehicles of the matching category are restricted if the vehicle is wider than the width in centimeters. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
isRestrictedAlways
public boolean isRestrictedAlwaysThe flag indicating if vehicles of the matching category are restricted anyway (not depending on any vehicle parameter).
-
isDieselFuelRestricted
public boolean isDieselFuelRestrictedThe flag indicating if diesel fuel is restricted for vehicles of the matching category.
-
isPetrolFuelRestricted
public boolean isPetrolFuelRestrictedThe flag indicating if petrol fuel is restricted for vehicles of the matching category.
-
isLpgFuelRestricted
public boolean isLpgFuelRestrictedThe flag indicating if LPG fuel is restricted for vehicles of the matching category.
-
isCaravanRestricted
public boolean isCaravanRestrictedThe flag indicating if a driving with a caravan is restricted for vehicles of the matching category.
-
isTrailerRestricted
public boolean isTrailerRestrictedThe flag indicating if a driving with a trailer is restricted for vehicles of the matching category.
-
isDrivingWithoutSnowChainsRestricted
public boolean isDrivingWithoutSnowChainsRestrictedThe flag indicating if a driving without snow chains is restricted for vehicles of the matching category.
-
isDrivingWithoutWinterTyresRestricted
public boolean isDrivingWithoutWinterTyresRestrictedThe flag indicating if a driving without winter tyres is restricted for vehicles of the matching category.
-
isEvenNumberPlateRestricted
public boolean isEvenNumberPlateRestrictedThe flag indicating if a plate with even number is restricted for vehicles of the matching category.
-
isOddNumberPlateRestricted
public boolean isOddNumberPlateRestrictedThe flag indicating if a plate with odd number is restricted for vehicles of the matching category.
-
isThroughTrafficRestricted
public boolean isThroughTrafficRestrictedThe flag indicating if a through traffic is restricted for vehicles of the matching category.
-
isResidentsTrafficRestricted
public boolean isResidentsTrafficRestrictedThe flag indicating if a residents traffic is restricted for vehicles of the matching category.
-
isDestinationInIncidentAreaRestricted
public boolean isDestinationInIncidentAreaRestrictedThe flag indicating if a traffic destination in the incident area is restricted for vehicles of the matching category.
-
isEuro3EmissionStandardRestricted
public boolean isEuro3EmissionStandardRestrictedThe flag indicating if euro3 and weaker emission standards are restricted for vehicles of the matching category.
-
isEuro4EmissionStandardRestricted
public boolean isEuro4EmissionStandardRestrictedThe flag indicating if euro4 and weaker emission standards are restricted for vehicles of the matching category.
-
isEuro5EmissionStandardRestricted
public boolean isEuro5EmissionStandardRestrictedThe flag indicating if euro5 and weaker emission standards are restricted for vehicles of the matching category.
-
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
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
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
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
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
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
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
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
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
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
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
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.
-
-
Constructor Details
-
VehicleRestriction
public VehicleRestriction()Creates a new instance with default values.
-
-
Method Details