public class

WheelBrakes

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.bsm.WheelBrakes

Class Overview

Represents the status of the wheel brakes (BSM).

Summary

Fields
public static final WheelBrakes UNAVAILABLE Represents the unavailable value for wheel brake status.
Public Constructors
WheelBrakes()
Creates a new wheel brakes instance.
Public Methods
boolean equals(Object o)
int hashCode()
boolean isLeftFrontSet()
Returns whether the front left brake is engaged.
boolean isLeftRearSet()
Returns whether the rear left brake is engaged.
boolean isRightFrontSet()
Returns whether the front right brake is engaged.
boolean isRightRearSet()
Returns whether the rear right brake is engaged.
WheelBrakes setLeftFront(boolean value)
Sets whether the front left brake is engaged
WheelBrakes setLeftRear(boolean value)
Sets whether the rear left brake is engaged
WheelBrakes setRightFront(boolean value)
Sets whether the front right brake is engaged
WheelBrakes setRightRear(boolean value)
Sets whether the rear right brake is engaged
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static final WheelBrakes UNAVAILABLE

Represents the unavailable value for wheel brake status.

Public Constructors

public WheelBrakes ()

Creates a new wheel brakes instance.

Public Methods

public boolean equals (Object o)

public int hashCode ()

public boolean isLeftFrontSet ()

Returns whether the front left brake is engaged.

Returns
  • whether the front left brake is engaged

public boolean isLeftRearSet ()

Returns whether the rear left brake is engaged.

Returns
  • whether the rear left brake is engaged

public boolean isRightFrontSet ()

Returns whether the front right brake is engaged.

Returns
  • whether the front right brake is engaged

public boolean isRightRearSet ()

Returns whether the rear right brake is engaged.

Returns
  • whether the rear right brake is engaged

public WheelBrakes setLeftFront (boolean value)

Sets whether the front left brake is engaged

Parameters
value whether the front left brake is engaged.
Returns
  • the same WheelBrakes instance this method was invoked on to support chaining

public WheelBrakes setLeftRear (boolean value)

Sets whether the rear left brake is engaged

Parameters
value whether the rear left brake is engaged.
Returns
  • the same WheelBrakes instance this method was invoked on to support chaining

public WheelBrakes setRightFront (boolean value)

Sets whether the front right brake is engaged

Parameters
value whether the front right brake is engaged.
Returns
  • the same WheelBrakes instance this method was invoked on to support chaining

public WheelBrakes setRightRear (boolean value)

Sets whether the rear right brake is engaged

Parameters
value whether the rear right brake is engaged.
Returns
  • the same WheelBrakes instance this method was invoked on to support chaining

public String toString ()