Record Class Calibration
java.lang.Object
java.lang.Record
org.episteme.core.measure.Calibration
-
Constructor Summary
ConstructorsConstructorDescriptionCalibration(Instant date, String performedBy, String result, Instant nextDue) Creates an instance of aCalibrationrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondate()Returns the value of thedaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.nextDue()Returns the value of thenextDuerecord component.Returns the value of theperformedByrecord component.result()Returns the value of theresultrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Calibration
Creates an instance of aCalibrationrecord class.- Parameters:
date- the value for thedaterecord componentperformedBy- the value for theperformedByrecord componentresult- the value for theresultrecord componentnextDue- the value for thenextDuerecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
date
Returns the value of thedaterecord component.- Returns:
- the value of the
daterecord component
-
performedBy
Returns the value of theperformedByrecord component.- Returns:
- the value of the
performedByrecord component
-
result
Returns the value of theresultrecord component.- Returns:
- the value of the
resultrecord component
-
nextDue
Returns the value of thenextDuerecord component.- Returns:
- the value of the
nextDuerecord component
-