Record Class ExperimentListItem

java.lang.Object
java.lang.Record
com.knezevic.edaf.v3.persistence.query.ExperimentListItem

public record ExperimentListItem(String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String configHash, String createdAt, String latestRunTime, Long totalRuns, Long completedRuns, Long failedRuns, Long runningRuns, String status, Double bestFitness) extends Record
One row in experiment listing.
  • Constructor Details

    • ExperimentListItem

      public ExperimentListItem(String experimentId, String runName, String algorithmType, String modelType, String problemType, String representationType, String configHash, String createdAt, String latestRunTime, Long totalRuns, Long completedRuns, Long failedRuns, Long runningRuns, String status, Double bestFitness)
      Creates an instance of a ExperimentListItem record class.
      Parameters:
      experimentId - the value for the experimentId record component
      runName - the value for the runName record component
      algorithmType - the value for the algorithmType record component
      modelType - the value for the modelType record component
      problemType - the value for the problemType record component
      representationType - the value for the representationType record component
      configHash - the value for the configHash record component
      createdAt - the value for the createdAt record component
      latestRunTime - the value for the latestRunTime record component
      totalRuns - the value for the totalRuns record component
      completedRuns - the value for the completedRuns record component
      failedRuns - the value for the failedRuns record component
      runningRuns - the value for the runningRuns record component
      status - the value for the status record component
      bestFitness - the value for the bestFitness record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • experimentId

      public String experimentId()
      Returns the value of the experimentId record component.
      Returns:
      the value of the experimentId record component
    • runName

      public String runName()
      Returns the value of the runName record component.
      Returns:
      the value of the runName record component
    • algorithmType

      public String algorithmType()
      Returns the value of the algorithmType record component.
      Returns:
      the value of the algorithmType record component
    • modelType

      public String modelType()
      Returns the value of the modelType record component.
      Returns:
      the value of the modelType record component
    • problemType

      public String problemType()
      Returns the value of the problemType record component.
      Returns:
      the value of the problemType record component
    • representationType

      public String representationType()
      Returns the value of the representationType record component.
      Returns:
      the value of the representationType record component
    • configHash

      public String configHash()
      Returns the value of the configHash record component.
      Returns:
      the value of the configHash record component
    • createdAt

      public String createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • latestRunTime

      public String latestRunTime()
      Returns the value of the latestRunTime record component.
      Returns:
      the value of the latestRunTime record component
    • totalRuns

      public Long totalRuns()
      Returns the value of the totalRuns record component.
      Returns:
      the value of the totalRuns record component
    • completedRuns

      public Long completedRuns()
      Returns the value of the completedRuns record component.
      Returns:
      the value of the completedRuns record component
    • failedRuns

      public Long failedRuns()
      Returns the value of the failedRuns record component.
      Returns:
      the value of the failedRuns record component
    • runningRuns

      public Long runningRuns()
      Returns the value of the runningRuns record component.
      Returns:
      the value of the runningRuns record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • bestFitness

      public Double bestFitness()
      Returns the value of the bestFitness record component.
      Returns:
      the value of the bestFitness record component