@Entity
public class DetectedObjectMovement
extends java.lang.Object
Constructor and Description |
---|
DetectedObjectMovement() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Double |
getDiff()
Returns the euclidean distance from the previous point on the trajectory
|
java.util.UUID |
getId()
Returns the ID of the movement
|
java.lang.Integer |
getPositionX()
Returns the camera screen x coordinate
|
java.lang.Integer |
getPositionY()
Returns the camera screen y coordinate
|
java.lang.Double |
getSpeed()
Returns the speed scalar
|
java.time.Instant |
getTime()
Returns the time when the detected object passed through the point
|
Transit |
getTransit()
Returns the transit related to the detected object's movement
|
java.lang.Double |
getVelocityX()
Returns the x component of the velocity of the object in the given point (in pixels per second)
|
java.lang.Double |
getVelocityY()
Returns the y component of the velocity of the object in the given point (in pixels per second)
|
int |
hashCode() |
void |
setDiff(java.lang.Double diff)
Sets the euclidean distance from the previous point on the trajectory
|
void |
setId(java.util.UUID id)
Sets the ID of the movement
|
void |
setPositionX(java.lang.Integer positionX)
Sets the camera screen x coordinate
|
void |
setPositionY(java.lang.Integer positionY)
Sets the camera screen y coordinate
|
void |
setSpeed(java.lang.Double speed)
Sets the value of the speed scalar
|
void |
setTime(java.time.Instant time)
Sets the time when the detected object passed through the point
|
void |
setTransit(Transit transit)
Sets the transit related to the detected object's movement
|
void |
setVelocityX(java.lang.Double velocityX)
Sets the x component of the velocity of the object in the given point (in pixels per second)
|
void |
setVelocityY(java.lang.Double velocityY)
Sets the y component of the velocity of the object in the given point (in pixels per second)
|
public java.util.UUID getId()
public void setId(java.util.UUID id)
id
- the new ID of the movementpublic java.time.Instant getTime()
public void setTime(java.time.Instant time)
time
- the time when the detected object passed through the pointpublic java.lang.Double getVelocityY()
public void setVelocityY(java.lang.Double velocityY)
velocityY
- the y component of the velocity of the object in the given point (in pixels per second)public java.lang.Double getVelocityX()
public void setVelocityX(java.lang.Double velocityX)
velocityX
- the x component of the velocity of the object in the given point (in pixels per second)public java.lang.Double getDiff()
public java.lang.Integer getPositionX()
public void setPositionX(java.lang.Integer positionX)
positionX
- the camera screen x coordinatepublic java.lang.Integer getPositionY()
public void setPositionY(java.lang.Integer positionY)
positionY
- the camera screen x coordinatepublic void setDiff(java.lang.Double diff)
diff
- the euclidean distance from the previous point on the trajectory (in pixels)public Transit getTransit()
public void setTransit(Transit transit)
transit
- the transit related to the detected object's movementpublic java.lang.Double getSpeed()
public void setSpeed(java.lang.Double speed)
speed
- the value of the speed scalarpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object