Record Class AnomalyObjectDto.AnomalyPartitionMap
java.lang.Object
java.lang.Record
com.evolveum.midpoint.gui.impl.page.admin.role.mining.tables.outlier.panel.AnomalyObjectDto.AnomalyPartitionMap
- Enclosing class:
- AnomalyObjectDto
public static record AnomalyObjectDto.AnomalyPartitionMap(DetectedAnomalyResult anomalyResult, RoleAnalysisOutlierPartitionType associatedPartition, List<OutlierExplanationResolver.ExplanationResult> explanation, int partitionCount, double anomalyScore)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAnomalyPartitionMap(DetectedAnomalyResult anomalyResult, RoleAnalysisOutlierPartitionType associatedPartition, List<OutlierExplanationResolver.ExplanationResult> explanation, int partitionCount, double anomalyScore) Creates an instance of aAnomalyPartitionMaprecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theanomalyResultrecord component.doubleReturns the value of theanomalyScorerecord component.Returns the value of theassociatedPartitionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexplanationrecord component.final inthashCode()Returns a hash code value for this object.intReturns the value of thepartitionCountrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnomalyPartitionMap
public AnomalyPartitionMap(DetectedAnomalyResult anomalyResult, RoleAnalysisOutlierPartitionType associatedPartition, List<OutlierExplanationResolver.ExplanationResult> explanation, int partitionCount, double anomalyScore) Creates an instance of aAnomalyPartitionMaprecord class.- Parameters:
anomalyResult- the value for theanomalyResultrecord componentassociatedPartition- the value for theassociatedPartitionrecord componentexplanation- the value for theexplanationrecord componentpartitionCount- the value for thepartitionCountrecord componentanomalyScore- the value for theanomalyScorerecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
anomalyResult
Returns the value of theanomalyResultrecord component.- Returns:
- the value of the
anomalyResultrecord component
-
associatedPartition
Returns the value of theassociatedPartitionrecord component.- Returns:
- the value of the
associatedPartitionrecord component
-
explanation
Returns the value of theexplanationrecord component.- Returns:
- the value of the
explanationrecord component
-
partitionCount
public int partitionCount()Returns the value of thepartitionCountrecord component.- Returns:
- the value of the
partitionCountrecord component
-
anomalyScore
public double anomalyScore()Returns the value of theanomalyScorerecord component.- Returns:
- the value of the
anomalyScorerecord component
-