java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.resource.component.wizard.schemaHandling.objectType.smart.component.CompareObjectDto<C>
Type Parameters:
C - Type of the container object being compared.
All Implemented Interfaces:
Serializable

public class CompareObjectDto<C extends Containerable> extends Object implements Serializable
DTO that represents a comparison context between a "primary" (compared) container value and a collection of candidate values, based on a specific identifier path.
See Also:
  • Constructor Details

  • Method Details

    • extractIdentifier

      protected String extractIdentifier(@NotNull @NotNull PrismContainerValueWrapper<C> containerValueWrapper, @NotNull @NotNull String blankIdentifierName)
      Extracts the identifier from the given container value wrapper based on the identifier path. If the identifier is blank, it uses the provided blankIdentifierName. It also ensures uniqueness by appending a counter for duplicates.
    • getComparedItems

      public List<CompareObjectDto.ComparedItem<C>> getComparedItems()
    • getComparedPaths

      public List<ItemPath> getComparedPaths()
    • getPrimaryItem

      public CompareObjectDto.ComparedItem<C> getPrimaryItem()