Record Class StDBDeviceLocationUpdateSearchParameters
java.lang.Object
java.lang.Record
com.io7m.stonesignal.server.database.StDBDeviceLocationUpdateSearchParameters
- Record Components:
device- The devicetimeStart- The starting timecount- The number of updates to return
public record StDBDeviceLocationUpdateSearchParameters(UUID device, OffsetDateTime timeStart, int count)
extends Record
The search parameters for device location updates.
-
Constructor Summary
ConstructorsConstructorDescriptionStDBDeviceLocationUpdateSearchParameters(UUID device, OffsetDateTime timeStart, int count) The search parameters for device location updates. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.device()Returns the value of thedevicerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetimeStartrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StDBDeviceLocationUpdateSearchParameters
The search parameters for device location updates.- Parameters:
device- The devicetimeStart- The starting timecount- The number of updates to return
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
device
-
timeStart
-
count
-