Package com.evolveum.midpoint.prism.path
Class ItemNameUtil
java.lang.Object
com.evolveum.midpoint.prism.path.ItemNameUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K extends QName,
V>
VgetByQName
(@NotNull Map<K, V> map, K key) Finds value in the map by QName key usingQNameUtil.match(QName, QName)
.
-
Constructor Details
-
ItemNameUtil
public ItemNameUtil()
-
-
Method Details
-
getByQName
Finds value in the map by QName key usingQNameUtil.match(QName, QName)
. If normal and infra item is found, prefers normal item instead of infra item. Fails if multiple matches are found. Returnsnull
if no match is found. !!! EXPECTS THAT THE MAP CONTAINS QUALIFIED NAMES (if querying by qualified key) !!!
-