Record Class PredictionEntry
java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.prediction_applier.model.prediction.PredictionEntry
public record PredictionEntry(String objectId, String modelId, org.alfresco.hxi_connector.hxi_extension.rest.api.model.UpdateType enrichmentType, List<Prediction> predictions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPredictionEntry(String objectId, String modelId, org.alfresco.hxi_connector.hxi_extension.rest.api.model.UpdateType enrichmentType, List<Prediction> predictions) Creates an instance of aPredictionEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionorg.alfresco.hxi_connector.hxi_extension.rest.api.model.UpdateTypeReturns the value of theenrichmentTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.modelId()Returns the value of themodelIdrecord component.objectId()Returns the value of theobjectIdrecord component.Returns the value of thepredictionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PredictionEntry
public PredictionEntry(String objectId, String modelId, org.alfresco.hxi_connector.hxi_extension.rest.api.model.UpdateType enrichmentType, List<Prediction> predictions) Creates an instance of aPredictionEntryrecord class.- Parameters:
objectId- the value for theobjectIdrecord componentmodelId- the value for themodelIdrecord componentenrichmentType- the value for theenrichmentTyperecord componentpredictions- the value for thepredictionsrecord component
-
-
Method Details
-
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. -
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. -
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). -
objectId
Returns the value of theobjectIdrecord component.- Returns:
- the value of the
objectIdrecord component
-
modelId
Returns the value of themodelIdrecord component.- Returns:
- the value of the
modelIdrecord component
-
enrichmentType
public org.alfresco.hxi_connector.hxi_extension.rest.api.model.UpdateType enrichmentType()Returns the value of theenrichmentTyperecord component.- Returns:
- the value of the
enrichmentTyperecord component
-
predictions
Returns the value of thepredictionsrecord component.- Returns:
- the value of the
predictionsrecord component
-