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 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 a DeltaScannerResult record class.
      Parameters:
      objectType - the value for the objectType record component
      delta - the value for the delta record component
      fullPath - the value for the fullPath record component
      values - the value for the values record component
      estimatedOldValues - the value for the estimatedOldValues record component
  • Method Details

    • isPartial

      public boolean isPartial()
    • toDelta

      @NotNull public @NotNull ItemDelta<?,?> toDelta()
    • 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.
    • objectType

      @NotNull public @NotNull Class<? extends ObjectType> objectType()
      Returns the value of the objectType record component.
      Returns:
      the value of the objectType record component
    • delta

      @NotNull public @NotNull ItemDelta<?,?> delta()
      Returns the value of the delta record component.
      Returns:
      the value of the delta record component
    • fullPath

      @NotNull public @NotNull ItemPath fullPath()
      Returns the value of the fullPath record component.
      Returns:
      the value of the fullPath record component
    • values

      @NotNull public @NotNull Map<ModificationType,List<? extends PrismValue>> values()
      Returns the value of the values record component.
      Returns:
      the value of the values record component
    • estimatedOldValues

      public Collection<? extends PrismValue> estimatedOldValues()
      Returns the value of the estimatedOldValues record component.
      Returns:
      the value of the estimatedOldValues record component