Uses of Interface
com.evolveum.midpoint.prism.equivalence.EquivalenceStrategy
Package
Description
-
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism
Modifier and TypeMethodDescriptionboolean
Item.add
(V newValue, @NotNull EquivalenceStrategy strategy) Adds a value, overwriting existing one(s).boolean
Item.addAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) Adds given values, with the same semantics as repeated add(..) calls.void
Item.addRespectingMetadataAndCloning
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) Adds a value, respecting the metadata.default boolean
Item.contains
(V value, @NotNull EquivalenceStrategy strategy) static boolean
ItemCollectionsUtil.contains
(Collection<? extends PrismValue> values, PrismValue valueToMatch, EquivalenceStrategy strategy) static <V extends PrismValue>
booleanPrismValueCollectionsUtil.contains
(Collection<V> thisSet, V otherValue, EquivalenceStrategy strategy) static <V extends PrismValue>
booleanPrismValueCollectionsUtil.containsAll
(Collection<V> thisSet, Collection<V> otherSet, EquivalenceStrategy strategy) static Collection<? extends PrismValue>
PrismValueCollectionsUtil.differenceConsideringIds
(@NotNull Collection<? extends PrismValue> collection1, @NotNull Collection<? extends PrismValue> collection2, @NotNull EquivalenceStrategy strategy) Returns values present in `collection1` but not in `collection2`.boolean
Item.equals
(Object obj, @NotNull EquivalenceStrategy equivalenceStrategy) Compares this item to the specified object under given strategy.boolean
PrismValue.equals
(PrismValue otherValue, @NotNull EquivalenceStrategy strategy) default V
Item.findValue
(V value, @NotNull EquivalenceStrategy strategy) int
Item.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) Computes hash code to be used under given equivalence strategy.int
PrismValue.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) static Collection<? extends PrismValue>
PrismValueCollectionsUtil.intersection
(@NotNull Collection<? extends PrismValue> collection1, @NotNull Collection<? extends PrismValue> collection2, @NotNull EquivalenceStrategy strategy) Returns values present in `collection1` as well as in `collection2`.boolean
Item.remove
(V value, @NotNull EquivalenceStrategy strategy) Removes values equivalent to given value from the item; under specified equivalence strategy OR when values represent the same value via "representsSameValue(.., lax=false)" method.boolean
Item.removeAll
(Collection<V> values, @NotNull EquivalenceStrategy strategy) Removes all given values from the item.void
Item.removeRespectingMetadata
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) Removes values equivalent to given value from the item; under specified equivalence strategy OR when values represent the same value via "representsSameValue(.., lax=false)" method.void
Item.replaceAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) Replaces all values of the item by given values.static Collection<? extends PrismValue>
PrismValueCollectionsUtil.sameIdDifferentContent
(@NotNull Collection<? extends PrismValue> collection1, @NotNull Collection<? extends PrismValue> collection2, @NotNull EquivalenceStrategy strategy) Returns values that exist (by ID) in both collections but differ in content. -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.deleg
Modifier and TypeMethodDescriptiondefault boolean
ItemDeltaDelegator.contains
(ItemDelta<V, D> other, EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.delta
Modifier and TypeMethodDescriptionboolean
ItemDelta.contains
(ItemDelta<V, D> other, EquivalenceStrategy strategy) Returns true if the other delta is a complete subset of this delta.boolean
ObjectDelta.containsAllModifications
(Collection<? extends ItemDelta<?, ?>> itemDeltas, EquivalenceStrategy strategy) boolean
ObjectDelta.containsModification
(ItemDelta itemDelta, EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.equivalence
Modifier and TypeClassDescriptionclass
Implementation of EquivalenceStrategy that uses a parametrization of built-in equals/hashCode/diff methods. -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.impl
Modifier and TypeFieldDescriptionprotected EquivalenceStrategy
PrismValueImpl.defaultEquivalenceStrategy
Modifier and TypeMethodDescriptionboolean
ItemImpl.add
(V newValue, @NotNull EquivalenceStrategy equivalenceStrategy) boolean
ItemImpl.addAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) protected boolean
ItemImpl.addInternal
(V newValue, boolean checkEquivalents, EquivalenceStrategy equivalenceStrategy) protected boolean
PrismContainerImpl.addInternal
(@NotNull PrismContainerValue newValue, boolean checkEquivalents, EquivalenceStrategy strategy) protected boolean
PrismObjectImpl.addInternal
(@NotNull PrismContainerValue newValue, boolean checkEquivalents, EquivalenceStrategy strategy) void
ItemImpl.addRespectingMetadataAndCloning
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) boolean
ItemImpl.equals
(Object obj, @NotNull EquivalenceStrategy strategy) boolean
PrismValueImpl.equals
(PrismValue otherValue, @NotNull EquivalenceStrategy equivalenceStrategy) int
ItemImpl.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) int
PrismValueImpl.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) boolean
ItemImpl.remove
(V value, @NotNull EquivalenceStrategy strategy) boolean
ItemImpl.removeAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) void
ItemImpl.removeRespectingMetadata
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) void
ItemImpl.replaceAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) void
PrismContextImpl.setProvenanceEquivalenceStrategy
(EquivalenceStrategy provenanceEquivalenceStrategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.impl.delta
Modifier and TypeMethodDescriptionboolean
ItemDeltaImpl.contains
(ItemDelta<V, D> other, EquivalenceStrategy strategy) Returns true if the other delta is a complete subset of this delta.boolean
ObjectDeltaImpl.containsAllModifications
(Collection<? extends ItemDelta<?, ?>> itemDeltas, EquivalenceStrategy strategy) boolean
ObjectDeltaImpl.containsModification
(ItemDelta itemDelta, EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.impl.item
Modifier and TypeMethodDescriptionfinal boolean
DummyItem.add
(V newValue, @NotNull EquivalenceStrategy equivalenceStrategy) final boolean
DummyItem.addAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) void
DummyItem.addRespectingMetadataAndCloning
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) final boolean
DummyItem.equals
(Object obj, @NotNull EquivalenceStrategy equivalenceStrategy) final int
DummyItem.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) final boolean
DummyItem.remove
(V value, @NotNull EquivalenceStrategy strategy) final boolean
DummyItem.removeAll
(Collection<V> values, @NotNull EquivalenceStrategy strategy) void
DummyItem.removeRespectingMetadata
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) final void
DummyItem.replaceAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.impl.metadata
Modifier and TypeMethodDescriptionboolean
ValueMetadataAdapter.add
(@NotNull PrismContainerValue<Containerable> newValue, @NotNull EquivalenceStrategy strategy) boolean
ValueMetadataAdapter.addAll
(Collection<PrismContainerValue<Containerable>> newValues, @NotNull EquivalenceStrategy strategy) void
ValueMetadataAdapter.addRespectingMetadataAndCloning
(PrismContainerValue<Containerable> value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) boolean
ValueMetadataAdapter.contains
(@NotNull PrismContainerValue<Containerable> value, @NotNull EquivalenceStrategy strategy) boolean
ValueMetadataAdapter.equals
(Object obj, @NotNull EquivalenceStrategy equivalenceStrategy) ValueMetadataAdapter.findValue
(@NotNull PrismContainerValue<Containerable> value, @NotNull EquivalenceStrategy strategy) int
ValueMetadataAdapter.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) boolean
ValueMetadataAdapter.remove
(PrismContainerValue<Containerable> value, @NotNull EquivalenceStrategy strategy) boolean
ValueMetadataAdapter.removeAll
(Collection<PrismContainerValue<Containerable>> values, @NotNull EquivalenceStrategy strategy) void
ValueMetadataAdapter.removeRespectingMetadata
(PrismContainerValue<Containerable> value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) void
ValueMetadataAdapter.replaceAll
(Collection<PrismContainerValue<Containerable>> newValues, @NotNull EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.prism.util
Modifier and TypeMethodDescriptionstatic void
PrismAsserts.assertDifferent
(String message, Item item1, Item item2, EquivalenceStrategy strategy) static void
PrismAsserts.assertEquals
(String message, Item item1, Item item2, EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.schema.metadata
Modifier and TypeClassDescriptionclass
Used to compare metadata from the provenance point of view.