public class

PositionOfOccupants

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

Class Overview

Represents the position of occupants inside the vehicle.

Summary

Nested Classes
class PositionOfOccupants.RowStatus Represents the occupancy status of a specific seat row. 
Public Constructors
PositionOfOccupants()
Creates a new instance.
Public Methods
boolean equals(Object o)
PositionOfOccupants.RowStatus getRow1()
Returns the occupancy status of the fist seat row.
PositionOfOccupants.RowStatus getRow2()
Returns the occupancy status of the second seat row.
PositionOfOccupants.RowStatus getRow3()
Returns the occupancy status of the third seat row.
PositionOfOccupants.RowStatus getRow4()
Returns the occupancy status of the fourth seat row.
int hashCode()
void setRow1(PositionOfOccupants.RowStatus row1)
Sets the occupancy status of thee first seat row.
void setRow2(PositionOfOccupants.RowStatus row2)
Sets the occupancy status of thee second seat row.
void setRow3(PositionOfOccupants.RowStatus row3)
Sets the occupancy status of thee third seat row.
void setRow4(PositionOfOccupants.RowStatus row4)
Sets the occupancy status of thee fourth seat row.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PositionOfOccupants ()

Creates a new instance.

Public Methods

public boolean equals (Object o)

public PositionOfOccupants.RowStatus getRow1 ()

Returns the occupancy status of the fist seat row.

Returns
  • the occupancy status of the fist seat row

public PositionOfOccupants.RowStatus getRow2 ()

Returns the occupancy status of the second seat row.

Returns
  • the occupancy status of the second seat row

public PositionOfOccupants.RowStatus getRow3 ()

Returns the occupancy status of the third seat row.

Returns
  • the occupancy status of the third seat row

public PositionOfOccupants.RowStatus getRow4 ()

Returns the occupancy status of the fourth seat row.

Returns
  • the occupancy status of the fourth seat row

public int hashCode ()

public void setRow1 (PositionOfOccupants.RowStatus row1)

Sets the occupancy status of thee first seat row.

Parameters
row1 occupancy status of the first seat row

public void setRow2 (PositionOfOccupants.RowStatus row2)

Sets the occupancy status of thee second seat row.

Parameters
row2 occupancy status of the second seat row

public void setRow3 (PositionOfOccupants.RowStatus row3)

Sets the occupancy status of thee third seat row.

Parameters
row3 occupancy status of the third seat row

public void setRow4 (PositionOfOccupants.RowStatus row4)

Sets the occupancy status of thee fourth seat row.

Parameters
row4 occupancy status of the fourth seat row

public String toString ()