Class DeltaSetTripleUtil
- java.lang.Object
-
- com.evolveum.midpoint.prism.delta.DeltaSetTripleUtil
-
public class DeltaSetTripleUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description DeltaSetTripleUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V extends PrismValue>
PrismValueDeltaSetTriple<V>allToZeroSet(Collection<V> values, PrismContext prismContext)
static <T> void
diff(Collection<T> valuesOld, Collection<T> valuesNew, DeltaSetTriple<T> triple)
static <V extends PrismValue>
PrismValueDeltaSetTriple<V>diffPrismValueDeltaSetTriple(Collection<V> valuesOld, Collection<V> valuesNew, PrismContext prismContext)
Compares two (unordered) collections and creates a triple describing the differences.static boolean
isEmpty(DeltaSetTripleType triple)
static <T> void
putIntoOutputTripleMap(PathKeyedMap<DeltaSetTriple<T>> outputTripleMap, ItemPath outputPath, DeltaSetTriple<T> outputTriple)
-
-
-
Method Detail
-
diff
public static <T> void diff(Collection<T> valuesOld, Collection<T> valuesNew, DeltaSetTriple<T> triple)
-
diffPrismValueDeltaSetTriple
public static <V extends PrismValue> PrismValueDeltaSetTriple<V> diffPrismValueDeltaSetTriple(Collection<V> valuesOld, Collection<V> valuesNew, PrismContext prismContext)
Compares two (unordered) collections and creates a triple describing the differences.
-
allToZeroSet
public static <V extends PrismValue> PrismValueDeltaSetTriple<V> allToZeroSet(Collection<V> values, PrismContext prismContext)
-
putIntoOutputTripleMap
public static <T> void putIntoOutputTripleMap(PathKeyedMap<DeltaSetTriple<T>> outputTripleMap, ItemPath outputPath, DeltaSetTriple<T> outputTriple)
-
isEmpty
public static boolean isEmpty(DeltaSetTripleType triple)
-
-