Interface S_ItemEntry

All Known Subinterfaces:
S_MaybeAdd, S_MaybeDelete

public interface S_ItemEntry
  • Method Details

    • optimizing

      Should we skip idempotent item deltas? (Default is `false`.) **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add.
    • oldObject

      The state of object before the delta is applied. Used to compute estimatedOldValues. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add.
    • item

      S_ValuesEntry item(QName... names)
      Add new item delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add.
      Parameters:
      names - The names forming path to the item.
      Returns:
      The (potentially new) instance of an item delta value builder.
    • item

      S_ValuesEntry item(Object... namesOrIds)
      Add new item delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add.
      Parameters:
      namesOrIds - The names or Ids forming path to the item.
      Returns:
      The (potentially new) instance of an item delta value builder.
    • item

      S_ValuesEntry item(ItemPath path)
      Add new item delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add.
      Parameters:
      path - The path to the item.
      Returns:
      The (potentially new) instance of an item delta value builder.
    • item

      S_ValuesEntry item(ItemPath path, ItemDefinition itemDefinition)
      Add new item delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add.
      Parameters:
      path - The path to the item.
      itemDefinition - The definition of the item.
      Returns:
      The (potentially new) instance of an item delta value builder.
    • property

      S_ValuesEntry property(QName... names)
      Add new property delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add. Can be used with dynamic paths.
      Parameters:
      names - The names forming path to the property.
      Returns:
      The (potentially new) instance of a property delta value builder.
    • property

      S_ValuesEntry property(Object... namesOrIds)
      Add new property delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add. Can be used with dynamic paths.
      Parameters:
      namesOrIds - The names or Ids forming path to the property.
      Returns:
      The (potentially new) instance of a property delta value builder.
    • property

      S_ValuesEntry property(ItemPath path)
      Add new property delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add. Can be used with dynamic paths.
      Parameters:
      path - The path to the property.
      Returns:
      The (potentially new) instance of a property delta value builder.
    • property

      <T> S_ValuesEntry property(ItemPath path, PrismPropertyDefinition<T> itemDefinition)
      Add new property delta. **Beware**: this method may return a new instance, so be sure to store it; otherwise, you may lose the deltas you add. Can be used with dynamic paths.
      Parameters:
      path - The path to the property.
      itemDefinition - The definition of the property.
      Returns:
      The (potentially new) instance of a property delta value builder.
    • asObjectDeltas

      List<ObjectDelta<?>> asObjectDeltas(String oid)
    • asObjectDelta

      <O extends Objectable> ObjectDelta<O> asObjectDelta(String oid)
    • asObjectDeltaCast

      @Deprecated default <X extends Objectable> ObjectDelta<X> asObjectDeltaCast(String oid)
      Deprecated.
    • asItemDelta

      ItemDelta<?,?> asItemDelta()
    • asItemDeltas

      List<ItemDelta<?,?>> asItemDeltas()