Record Class RunSummary
java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.RunSummary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealgorithmrecord component.Returns the value of thebestFitnessrecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.problem()Returns the value of theproblemrecord component.runId()Returns the value of therunIdrecord component.Returns the value of theruntimeMillisrecord component.Returns the value of thestartTimerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RunSummary
public RunSummary(String runId, String algorithm, String model, String problem, String startTime, String endTime, Double bestFitness, Long runtimeMillis, String status) Creates an instance of aRunSummaryrecord class.- Parameters:
runId- the value for therunIdrecord componentalgorithm- the value for thealgorithmrecord componentmodel- the value for themodelrecord componentproblem- the value for theproblemrecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentbestFitness- the value for thebestFitnessrecord componentruntimeMillis- the value for theruntimeMillisrecord componentstatus- the value for thestatusrecord 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). -
runId
Returns the value of therunIdrecord component.- Returns:
- the value of the
runIdrecord component
-
algorithm
Returns the value of thealgorithmrecord component.- Returns:
- the value of the
algorithmrecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
problem
Returns the value of theproblemrecord component.- Returns:
- the value of the
problemrecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
bestFitness
Returns the value of thebestFitnessrecord component.- Returns:
- the value of the
bestFitnessrecord component
-
runtimeMillis
Returns the value of theruntimeMillisrecord component.- Returns:
- the value of the
runtimeMillisrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-