public static class

PositionOfOccupants.RowStatus

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

Class Overview

Represents the occupancy status of a specific seat row.

Summary

Public Constructors
PositionOfOccupants.RowStatus()
Creates a new instance.
PositionOfOccupants.RowStatus(boolean leftOccupied, boolean rightOccupied, boolean midOccupied, boolean notDetectable, boolean notPresent)
Creates a new instance.
Public Methods
boolean equals(Object o)
int hashCode()
boolean isLeftOccupied()
Returns the occupancy status of the left seat in the seat row.
boolean isMidOccupied()
Returns the occupancy status of the middle seat in the seat row.
boolean isNotDetectable()
Returns the status about not detectable occupancy.
boolean isNotPresent()
Returns the status about a not present seat.
boolean isRightOccupied()
Returns the occupancy status of the right seat in the seat row.
void setLeftOccupied(boolean leftOccupied)
Sets the occupancy status of the left seat in the seat row.
void setMidOccupied(boolean midOccupied)
Sets the occupancy status of the middle seat in the seat row.
void setNotDetectable(boolean notDetectable)
Sets the not detectable occupancy status.
void setNotPresent(boolean notPresent)
Sets the not present seat status.
void setRightOccupied(boolean rightOccupied)
Sets the occupancy status of the right seat in the seat row.
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PositionOfOccupants.RowStatus ()

Creates a new instance.

public PositionOfOccupants.RowStatus (boolean leftOccupied, boolean rightOccupied, boolean midOccupied, boolean notDetectable, boolean notPresent)

Creates a new instance.

Parameters
leftOccupied left seat occupied
rightOccupied right seat occupied
midOccupied middle seat occupied
notDetectable not detectable occupancy status
notPresent seat is not present

Public Methods

public boolean equals (Object o)

public int hashCode ()

public boolean isLeftOccupied ()

Returns the occupancy status of the left seat in the seat row.

Returns
  • occupancy status of the left seat in the seat row

public boolean isMidOccupied ()

Returns the occupancy status of the middle seat in the seat row.

Returns
  • occupancy status of the middle seat in the seat row

public boolean isNotDetectable ()

Returns the status about not detectable occupancy.

Returns
  • status about not detectable occupancy

public boolean isNotPresent ()

Returns the status about a not present seat.

Returns
  • status about a not present seat

public boolean isRightOccupied ()

Returns the occupancy status of the right seat in the seat row.

Returns
  • occupancy status of the right seat in the seat row

public void setLeftOccupied (boolean leftOccupied)

Sets the occupancy status of the left seat in the seat row.

Parameters
leftOccupied occupancy status of the left seat in the seat row

public void setMidOccupied (boolean midOccupied)

Sets the occupancy status of the middle seat in the seat row.

Parameters
midOccupied occupancy status of the middle seat in the seat row

public void setNotDetectable (boolean notDetectable)

Sets the not detectable occupancy status.

Parameters
notDetectable not detectable occupancy status

public void setNotPresent (boolean notPresent)

Sets the not present seat status.

Parameters
notPresent not present seat status

public void setRightOccupied (boolean rightOccupied)

Sets the occupancy status of the right seat in the seat row.

Parameters
rightOccupied occupancy status of the right seat in the seat row

public String toString ()