Interface ProcessedObject.ProcessedObjectItemDelta<V extends PrismValue,D extends ItemDefinition<?>>

All Superinterfaces:
DebugDumpable, Foreachable<V>, Freezable, Itemable, ItemDelta<V,D>, PathVisitable, Serializable, Visitable
Enclosing interface:
ProcessedObject<O extends ObjectType>

@Experimental public static interface ProcessedObject.ProcessedObjectItemDelta<V extends PrismValue,D extends ItemDefinition<?>> extends ItemDelta<V,D>
ItemDelta augmented with functionality needed to display it in a complex way, for example, with the information on real change(s) to the object. Highly experimental, and currently not very sound. For example, the getRealValuesAfter() or getRealValuesModified() may return values modified not by this delta. (Like when having `assignment` ADD/DELETE delta accompanied with a couple of `assignment/[1]/activation/...` deltas.)
  • Method Details

    • getRealValuesBefore

      @NotNull @NotNull Collection<?> getRealValuesBefore()
      Real values of the corresponding item before execution of this delta.
    • getPrismValuesBefore

      @NotNull @NotNull Set<? extends PrismValue> getPrismValuesBefore()
      Prism values of the corresponding item before execution of this delta.
    • getRealValuesAfter

      @NotNull @NotNull Collection<?> getRealValuesAfter()
      Real values of the corresponding item after execution of this delta; beware - may contain results of related deltas
    • getPrismValuesAfter

      @NotNull @NotNull Set<? extends PrismValue> getPrismValuesAfter()
      Prism values of the corresponding item after execution of this delta; beware - may contain results of related deltas
    • getRealValuesAdded

      @NotNull @NotNull Collection<?> getRealValuesAdded()
      Real values added by this delta. (Phantom ones are filtered out.)
    • getRealValuesDeleted

      @NotNull @NotNull Collection<?> getRealValuesDeleted()
      Real values deleted by this delta. (Phantom ones are filtered out.)
    • getRealValuesModified

      @NotNull @NotNull Set<?> getRealValuesModified()
      Real values modified by this delta - their identity is known by PCV ID.
    • getRealValuesUnchanged

      @NotNull @NotNull Collection<?> getRealValuesUnchanged()
      Real values unchanged by this delta.
    • getValuesWithStates

      @NotNull @NotNull Collection<ProcessedObject.ValueWithState> getValuesWithStates()
      All values (added, deleted, modified) with the corresponding state. Modified values returned only for REPLACE deltas.
    • getRelatedAssignment

      @Nullable @Nullable AssignmentType getRelatedAssignment()
      The state of the assignment pointed to by the delta of `assignment/[nn]/...` kind.