java.lang.Object | |
↳ | com.commsignia.v2x.client.model.IntersectionState |
Represents the state of an intersection.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IntersectionState()
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
MovementState |
findMovementStateBySignalGroup(long signalGroupId)
Finds a movement state by signal group id
| ||||||||||
Long |
getId()
Returns the current intersection Id.
| ||||||||||
Long |
getLaneCount()
Returns the lane count of this intersection.
| ||||||||||
List<MovementState> |
getMovementStates()
Returns the movement states of this intersection.
| ||||||||||
long |
getRevision()
Gets the revision.
| ||||||||||
IntersectionStatus |
getStatus()
Gets intersection status.
| ||||||||||
Long |
getTimestamp()
Gets the timestamp when this intersection state was generated.
| ||||||||||
int | hashCode() | ||||||||||
void |
setId(Long id)
Sets the intersection Id.
| ||||||||||
void |
setLaneCount(Long laneCount)
Sets the lane count of this intersection.
| ||||||||||
void |
setMovementStates(List<MovementState> movementStates)
Sets the movement states of this intersection
| ||||||||||
void |
setRevision(long revision)
Sets the revision.
| ||||||||||
void |
setStatus(IntersectionStatus status)
Sets the intersection status.
| ||||||||||
void |
setTimestamp(Long timestamp)
Sets the timestamp when this intersection state was generated.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance.
Finds a movement state by signal group id
signalGroupId | signal group id |
---|
Returns the current intersection Id.
Returns the lane count of this intersection.
Returns the movement states of this intersection.
Gets the revision. Its increments on every update.
Gets the timestamp when this intersection state was generated.
Sets the intersection Id.
id | intersection Id |
---|
Sets the lane count of this intersection.
laneCount | lane count |
---|
Sets the movement states of this intersection
movementStates | list of movement states |
---|
Sets the revision.
revision | revision |
---|
Sets the timestamp when this intersection state was generated.
timestamp | timestamp |
---|