public class

ImpactReduction

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.ImpactReduction

Class Overview

Represents the data container included in the alacarte container of DENM to support the pre-crash use case.

Summary

Nested Classes
class ImpactReduction.PositionOfPillar  
Public Constructors
ImpactReduction()
Create a new instance.
Public Methods
void clearHeightLonCarrLeft()
Clears the height value of left longitudinal carrier.
void clearHeightLonCarrRight()
Clears the height value of right longitudinal carrier.
void clearPosCentMass()
Clears the value of the perpendicular distance from centre of mass.
void clearPosFrontAx()
Clears the value of the perpendicular distance between the front wheel axle and front bumper.
void clearPosLonCarrLeft()
Clears the value of the longitudinal position of the left carrier.
void clearPosLonCarrRight()
Clears the value of the longitudinal position of the right carrier.
void clearTurningRadius()
Clears the turning radius value.
void clearVehicleMass()
Clears the vehicle mass value.
void clearWheelBaseVehicle()
Clears the vehicle wheel base value.
boolean equals(Object o)
Double getHeightLonCarrLeft(LengthUnit unit)
Returns the height of left longitudinal carrier in the specified unit.
Double getHeightLonCarrRight(LengthUnit unit)
Returns the height of right longitudinal carrier in the specified unit.
Double getPosCentMass(LengthUnit unit)
Returns the perpendicular distance from centre of mass of an empty charged vehicle to vehicle front bumper in the specified unit.
Double getPosFrontAx(LengthUnit unit)
Returns the perpendicular distance between the front wheel axle and front bumper in the specified unit.
Double getPosLonCarrLeft(LengthUnit unit)
Returns the distance from the centre of vehicle front bumper to the front of the left longitudinal carrier of vehicle in the specified unit.
Double getPosLonCarrRight(LengthUnit unit)
Returns the distance from the centre of vehicle front bumper to the front of the right longitudinal carrier of vehicle in the specified unit
PositionOfOccupants getPositionOfOccupants()
Returns the position of occupants.
List<ImpactReduction.PositionOfPillar> getPositionOfPillars()
Returns the list of pillar positions
RequestResponseIndication getRequestResponseIndication()
Returns the request/response indicator value.
Double getTurningRadius(LengthUnit unit)
Returns the turning radius in the specified unit.
Double getVehicleMass(WeightUnit unit)
Returns the vehicle mass value in the specified unit.
Double getWheelBaseVehicle(LengthUnit unit)
Returns the perpendicular distance between front and rear axle of the wheel base of a passenger vehicle in the specified unit
boolean hasHeightLonCarrLeft()
Returns true if the height of left longitudinal carrier is set
boolean hasHeightLonCarrRight()
Returns true if the height of right longitudinal carrier is set.
boolean hasPosCentMass()
Returns true if the perpendicular distance from centre of mass is set.
boolean hasPosFrontAx()
Returns true if the perpendicular distance between the front wheel axle and front bumper is set.
boolean hasPosLonCarrLeft()
Returns true if the position of the left longitudinal carrier is set.
boolean hasPosLonCarrRight()
Returns true if the position of the right longitudinal carrier is set.
boolean hasTurningRadius()
Returns true if the turning radius is set.
boolean hasVehicleMass()
Returns true if the mass of the vehicle is set.
boolean hasWheelBaseVehicle()
Returns true if the wheel base vehicle value is set.
int hashCode()
void setHeightLonCarrLeft(double heightLonCarrLeft, LengthUnit heightLonCarrLeftUnit)
Sets the height of left longitudinal carrier of the vehicle from base to top.
void setHeightLonCarrRight(double heightLonCarrRight, LengthUnit heightLonCarrRightUnit)
Sets the height of right longitudinal carrier of the vehicle from base to top.
void setPosCentMass(double posCentMass, LengthUnit posCentMassUnit)
Sets the perpendicular distance from centre of mass of an empty charged vehicle to vehicle front bumper.
void setPosFrontAx(double posFrontAx, LengthUnit posFrontAxUnit)
Set the perpendicular distance between the front wheel axle and front bumper.
void setPosLonCarrLeft(double posLonCarrLeft, LengthUnit posLonCarrLeftUnit)
Sets the longitudinal distance from the centre of vehicle front bumper to the front of the left longitudinal carrier of vehicle.
void setPosLonCarrRight(double posLonCarrRight, LengthUnit posLonCarrRightUnit)
Sets the longitudinal distance from the centre of vehicle front bumper to the front of right longitudinal carrier of vehicle.
void setPositionOfOccupants(PositionOfOccupants posOfOccupants)
Sets the position of occupants.
void setPositionOfPillars(List<ImpactReduction.PositionOfPillar> positionOfPillars)
Sets the position of vehicle pillars refer to the vertical or near vertical support of vehicle, designated respectively as the A, B, C or D and other pillars moving in profile view from the front to rear.
void setRequestResponseIndication(RequestResponseIndication requestResponseIndication)
Sets the request/response indicator value.
void setTurningRadius(double turningRadius, LengthUnit turningRadiusUnit)
Sets the turning radius of a vehicle, which is the size of the smallest circular turn (i.e.
void setVehicleMass(double vehicleMass, WeightUnit vehicleMassUnit)
Sets the mass of a vehicle.
void setWheelBaseVehicle(double wheelBaseVehicle, LengthUnit wheelBaseVehicleUnit)
Sets the perpendicular distance between front and rear axle of the wheel base of a passenger vehicle.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ImpactReduction ()

Create a new instance.

Public Methods

public void clearHeightLonCarrLeft ()

Clears the height value of left longitudinal carrier.

public void clearHeightLonCarrRight ()

Clears the height value of right longitudinal carrier.

public void clearPosCentMass ()

Clears the value of the perpendicular distance from centre of mass.

public void clearPosFrontAx ()

Clears the value of the perpendicular distance between the front wheel axle and front bumper.

public void clearPosLonCarrLeft ()

Clears the value of the longitudinal position of the left carrier.

public void clearPosLonCarrRight ()

Clears the value of the longitudinal position of the right carrier.

public void clearTurningRadius ()

Clears the turning radius value.

public void clearVehicleMass ()

Clears the vehicle mass value.

public void clearWheelBaseVehicle ()

Clears the vehicle wheel base value.

public boolean equals (Object o)

public Double getHeightLonCarrLeft (LengthUnit unit)

Returns the height of left longitudinal carrier in the specified unit. The left carrier refers to the right side seen from vehicle rear to vehicle front.

Parameters
unit target unit
Returns
  • height of left longitudinal carrier

public Double getHeightLonCarrRight (LengthUnit unit)

Returns the height of right longitudinal carrier in the specified unit. The right carrier refers to the right side seen from vehicle rear to vehicle front.

Parameters
unit target unit
Returns
  • height of right longitudinal carrier

public Double getPosCentMass (LengthUnit unit)

Returns the perpendicular distance from centre of mass of an empty charged vehicle to vehicle front bumper in the specified unit.

Parameters
unit target unit
Returns
  • the perpendicular distance

public Double getPosFrontAx (LengthUnit unit)

Returns the perpendicular distance between the front wheel axle and front bumper in the specified unit.

Parameters
unit target unit
Returns
  • perpendicular distance between the front wheel axle and front bumper

public Double getPosLonCarrLeft (LengthUnit unit)

Returns the distance from the centre of vehicle front bumper to the front of the left longitudinal carrier of vehicle in the specified unit.

Parameters
unit target unit
Returns
  • the distance from the centre of vehicle front bumper to the front of the left longitudinal carrier of vehicle

public Double getPosLonCarrRight (LengthUnit unit)

Returns the distance from the centre of vehicle front bumper to the front of the right longitudinal carrier of vehicle in the specified unit

Parameters
unit target unit
Returns
  • the distance from the centre of vehicle front bumper to the front of the right longitudinal carrier of vehicle

public PositionOfOccupants getPositionOfOccupants ()

Returns the position of occupants.

Returns
  • the position of occupants

public List<ImpactReduction.PositionOfPillar> getPositionOfPillars ()

Returns the list of pillar positions

Returns
  • the list of pillar positions

public RequestResponseIndication getRequestResponseIndication ()

Returns the request/response indicator value.

Returns
  • value specifying if this is request or response

public Double getTurningRadius (LengthUnit unit)

Returns the turning radius in the specified unit.

Parameters
unit target unit
Returns
  • turning status

public Double getVehicleMass (WeightUnit unit)

Returns the vehicle mass value in the specified unit.

Parameters
unit target unit
Returns
  • the vehicle mass value

public Double getWheelBaseVehicle (LengthUnit unit)

Returns the perpendicular distance between front and rear axle of the wheel base of a passenger vehicle in the specified unit

Parameters
unit taget unit
Returns
  • the perpendicular distance between front and rear axle of the wheel base of a passenger vehicle

public boolean hasHeightLonCarrLeft ()

Returns true if the height of left longitudinal carrier is set

Returns
  • true if the height of left longitudinal carrier is set, false otherwise

public boolean hasHeightLonCarrRight ()

Returns true if the height of right longitudinal carrier is set.

Returns
  • true if the height of right longitudinal carrier is set, false otherwise.

public boolean hasPosCentMass ()

Returns true if the perpendicular distance from centre of mass is set.

Returns
  • true if the perpendicular distance from centre of mass is set, false otherwise.

public boolean hasPosFrontAx ()

Returns true if the perpendicular distance between the front wheel axle and front bumper is set.

Returns
  • true if the perpendicular distance between the front wheel axle and front bumper is set, false otherwise.

public boolean hasPosLonCarrLeft ()

Returns true if the position of the left longitudinal carrier is set.

Returns
  • true if the position of the left longitudinal carrier is set, false otherwise.

public boolean hasPosLonCarrRight ()

Returns true if the position of the right longitudinal carrier is set.

Returns
  • true if the position of the right longitudinal carrier is set, false otherwise

public boolean hasTurningRadius ()

Returns true if the turning radius is set.

Returns
  • true if the turning radius is set, false otherwise

public boolean hasVehicleMass ()

Returns true if the mass of the vehicle is set.

Returns
  • true if the mass of the vehicle is set, false otherwise

public boolean hasWheelBaseVehicle ()

Returns true if the wheel base vehicle value is set.

Returns
  • true if the wheel base vehicle value is set, false otherwise.

public int hashCode ()

public void setHeightLonCarrLeft (double heightLonCarrLeft, LengthUnit heightLonCarrLeftUnit)

Sets the height of left longitudinal carrier of the vehicle from base to top. The left carrier refers to the right side seen from vehicle rear to vehicle front.

Parameters
heightLonCarrLeft height value
heightLonCarrLeftUnit height unit

public void setHeightLonCarrRight (double heightLonCarrRight, LengthUnit heightLonCarrRightUnit)

Sets the height of right longitudinal carrier of the vehicle from base to top. The right carrier refers to the right side seen from vehicle rear to vehicle front.

Parameters
heightLonCarrRight height value
heightLonCarrRightUnit height unit

public void setPosCentMass (double posCentMass, LengthUnit posCentMassUnit)

Sets the perpendicular distance from centre of mass of an empty charged vehicle to vehicle front bumper.

Parameters
posCentMass distance value
posCentMassUnit distance unit

public void setPosFrontAx (double posFrontAx, LengthUnit posFrontAxUnit)

Set the perpendicular distance between the front wheel axle and front bumper.

Parameters
posFrontAx distance value
posFrontAxUnit distance unit

public void setPosLonCarrLeft (double posLonCarrLeft, LengthUnit posLonCarrLeftUnit)

Sets the longitudinal distance from the centre of vehicle front bumper to the front of the left longitudinal carrier of vehicle. The left carrier refers to the left seen from vehicle rear to vehicle front.

Parameters
posLonCarrLeft distance value
posLonCarrLeftUnit distance unit

public void setPosLonCarrRight (double posLonCarrRight, LengthUnit posLonCarrRightUnit)

Sets the longitudinal distance from the centre of vehicle front bumper to the front of right longitudinal carrier of vehicle. The right carrier refers to the right side seen from vehicle rear to vehicle front.

Parameters
posLonCarrRight distance value
posLonCarrRightUnit distance unit

public void setPositionOfOccupants (PositionOfOccupants posOfOccupants)

Sets the position of occupants. This data filed indicates whether a in vehicle seat is occupied at the moment when the impactReduction is transmitted.

Parameters
posOfOccupants position of occupants

public void setPositionOfPillars (List<ImpactReduction.PositionOfPillar> positionOfPillars)

Sets the position of vehicle pillars refer to the vertical or near vertical support of vehicle, designated respectively as the A, B, C or D and other pillars moving in profile view from the front to rear.

Parameters
positionOfPillars List of position of pillars

public void setRequestResponseIndication (RequestResponseIndication requestResponseIndication)

Sets the request/response indicator value.

Parameters
requestResponseIndication value specifying if this is request or response

public void setTurningRadius (double turningRadius, LengthUnit turningRadiusUnit)

Sets the turning radius of a vehicle, which is the size of the smallest circular turn (i.e. U-turn) that the vehicle is capable of making.

Parameters
turningRadius radius value
turningRadiusUnit radius unit

public void setVehicleMass (double vehicleMass, WeightUnit vehicleMassUnit)

Sets the mass of a vehicle.

Parameters
vehicleMass weight value
vehicleMassUnit weight unit

public void setWheelBaseVehicle (double wheelBaseVehicle, LengthUnit wheelBaseVehicleUnit)

Sets the perpendicular distance between front and rear axle of the wheel base of a passenger vehicle.

Parameters
wheelBaseVehicle distance value
wheelBaseVehicleUnit distance unit

public String toString ()