Record Class StDBDeviceGetByIDParameters
java.lang.Object
java.lang.Record
com.io7m.stonesignal.server.database.StDBDeviceGetByIDParameters
-
Constructor Summary
ConstructorsConstructorDescriptionStDBDeviceGetByIDParameters(UUID deviceId, boolean includeKey) device-get-by-id parameters. -
Method Summary
Modifier and TypeMethodDescriptiondeviceId()Returns the value of thedeviceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
StDBDeviceGetByIDParameters
device-get-by-id parameters.- Parameters:
deviceId- The device IDincludeKey- Whether to include the key
-
-
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. -
deviceId
-
includeKey
public boolean includeKey()Returns the value of theincludeKeyrecord component.- Returns:
- the value of the
includeKeyrecord component
-