java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.prediction_applier.model.prediction.PredictionBatch

public record PredictionBatch(String id, String modelId, String fieldConfigurationId, String field, String enrichmentType, Double threshold, String creationDate, String status, Integer currentPage, Boolean superseded, Map<String,Object> primaryGrouping) extends Record
  • Constructor Details

    • PredictionBatch

      public PredictionBatch(String id, String modelId, String fieldConfigurationId, String field, String enrichmentType, Double threshold, String creationDate, String status, Integer currentPage, Boolean superseded, Map<String,Object> primaryGrouping)
      Creates an instance of a PredictionBatch record class.
      Parameters:
      id - the value for the id record component
      modelId - the value for the modelId record component
      fieldConfigurationId - the value for the fieldConfigurationId record component
      field - the value for the field record component
      enrichmentType - the value for the enrichmentType record component
      threshold - the value for the threshold record component
      creationDate - the value for the creationDate record component
      status - the value for the status record component
      currentPage - the value for the currentPage record component
      superseded - the value for the superseded record component
      primaryGrouping - the value for the primaryGrouping 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.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • modelId

      public String modelId()
      Returns the value of the modelId record component.
      Returns:
      the value of the modelId record component
    • fieldConfigurationId

      public String fieldConfigurationId()
      Returns the value of the fieldConfigurationId record component.
      Returns:
      the value of the fieldConfigurationId record component
    • field

      public String field()
      Returns the value of the field record component.
      Returns:
      the value of the field record component
    • enrichmentType

      public String enrichmentType()
      Returns the value of the enrichmentType record component.
      Returns:
      the value of the enrichmentType record component
    • threshold

      public Double threshold()
      Returns the value of the threshold record component.
      Returns:
      the value of the threshold record component
    • creationDate

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

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

      public Integer currentPage()
      Returns the value of the currentPage record component.
      Returns:
      the value of the currentPage record component
    • superseded

      public Boolean superseded()
      Returns the value of the superseded record component.
      Returns:
      the value of the superseded record component
    • primaryGrouping

      public Map<String,Object> primaryGrouping()
      Returns the value of the primaryGrouping record component.
      Returns:
      the value of the primaryGrouping record component