Record Class DeltaScannerResult
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.delta.DeltaScannerResult
public record DeltaScannerResult(@NotNull Class<? extends ObjectType> objectType, @NotNull ItemDelta<?,?> delta, @NotNull ItemPath fullPath, @NotNull Map<ModificationType,List<? extends PrismValue>> values, Collection<? extends PrismValue> estimatedOldValues)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDeltaScannerResult(@NotNull Class<? extends ObjectType> objectType, @NotNull ItemDelta<?, ?> delta, @NotNull ItemPath fullPath, @NotNull Map<ModificationType, List<? extends PrismValue>> values, Collection<? extends PrismValue> estimatedOldValues) Creates an instance of aDeltaScannerResultrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemDelta<?,?> delta()Returns the value of thedeltarecord component.final booleanIndicates whether some other object is "equal to" this one.Collection<? extends PrismValue>Returns the value of theestimatedOldValuesrecord component.@NotNull ItemPathfullPath()Returns the value of thefullPathrecord component.final inthashCode()Returns a hash code value for this object.boolean@NotNull Class<? extends ObjectType>Returns the value of theobjectTyperecord component.@NotNull ItemDelta<?,?> toDelta()final StringtoString()Returns a string representation of this record class.@NotNull Map<ModificationType,List<? extends PrismValue>> values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
DeltaScannerResult
public DeltaScannerResult(@NotNull @NotNull Class<? extends ObjectType> objectType, @NotNull @NotNull ItemDelta<?, ?> delta, @NotNull @NotNull ItemPath fullPath, @NotNull @NotNull Map<ModificationType, List<? extends PrismValue>> values, Collection<? extends PrismValue> estimatedOldValues) Creates an instance of aDeltaScannerResultrecord class.- Parameters:
objectType- the value for theobjectTyperecord componentdelta- the value for thedeltarecord componentfullPath- the value for thefullPathrecord componentvalues- the value for thevaluesrecord componentestimatedOldValues- the value for theestimatedOldValuesrecord component
-
-
Method Details
-
isPartial
public boolean isPartial() -
toDelta
-
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). -
objectType
Returns the value of theobjectTyperecord component.- Returns:
- the value of the
objectTyperecord component
-
delta
Returns the value of thedeltarecord component.- Returns:
- the value of the
deltarecord component
-
fullPath
Returns the value of thefullPathrecord component.- Returns:
- the value of the
fullPathrecord component
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
estimatedOldValues
Returns the value of theestimatedOldValuesrecord component.- Returns:
- the value of the
estimatedOldValuesrecord component
-