Class ItemNameUtil

java.lang.Object
com.evolveum.midpoint.prism.path.ItemNameUtil

public class ItemNameUtil extends Object
  • Constructor Details

    • ItemNameUtil

      public ItemNameUtil()
  • Method Details

    • getByQName

      public static <K extends QName, V> V getByQName(@NotNull @NotNull Map<K,V> map, @NotNull K key)
      Finds value in the map by QName key using QNameUtil.match(QName, QName). If normal and infra item is found, prefers normal item instead of infra item. Fails if multiple matches are found. Returns null if no match is found. !!! EXPECTS THAT THE MAP CONTAINS QUALIFIED NAMES (if querying by qualified key) !!!