Record Class FocusTypeStats
java.lang.Object
java.lang.Record
com.evolveum.midpoint.ninja.action.stats.FocusTypeStats
- All Implemented Interfaces:
PrismTransformableRecord
public record FocusTypeStats(String focusType, int count, Collection<PropertyStats> propertiesStats)
extends Record
implements PrismTransformableRecord
-
Constructor Summary
ConstructorsConstructorDescriptionFocusTypeStats(String focusType, int count, Collection<PropertyStats> propertiesStats) Creates an instance of aFocusTypeStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionasPrismContainerValue(ItemFactory itemFactory) intcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefocusTyperecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepropertiesStatsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FocusTypeStats
Creates an instance of aFocusTypeStatsrecord class.- Parameters:
focusType- the value for thefocusTyperecord componentcount- the value for thecountrecord componentpropertiesStats- the value for thepropertiesStatsrecord component
-
-
Method Details
-
asPrismContainerValue
public PrismContainerValue<Containerable> asPrismContainerValue(ItemFactory itemFactory) throws SchemaException - Specified by:
asPrismContainerValuein interfacePrismTransformableRecord- Throws:
SchemaException
-
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 '=='. -
focusType
Returns the value of thefocusTyperecord component.- Returns:
- the value of the
focusTyperecord component
-
count
public int count()Returns the value of thecountrecord component.- Returns:
- the value of the
countrecord component
-
propertiesStats
Returns the value of thepropertiesStatsrecord component.- Returns:
- the value of the
propertiesStatsrecord component
-