Uses of Interface
com.evolveum.midpoint.prism.equivalence.EquivalenceStrategy
Package
Description
This package is experimental and will be moved to prism project shortly.
-
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.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.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.boolean
PrismValue.representsSameValue
(PrismValue other, EquivalenceStrategy strategy, boolean lax) Returns true if this and other value represent the same value.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) default boolean
PrismContainerValueDelegator.equals
(PrismValue otherValue, @NotNull EquivalenceStrategy strategy) default int
PrismContainerValueDelegator.hashCode
(@NotNull EquivalenceStrategy equivalenceStrategy) default boolean
PrismContainerValueDelegator.representsSameValue
(PrismValue other, EquivalenceStrategy strategy, boolean lax) -
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 ItemModifyResult<V>
ItemImpl.addInternal
(V newValue, boolean checkEquivalents, EquivalenceStrategy equivalenceStrategy) protected ItemModifyResult<PrismContainerValue<C>>
PrismContainerImpl.addInternal
(@NotNull PrismContainerValue newValue, boolean checkEquivalents, EquivalenceStrategy strategy) protected ItemModifyResult<PrismContainerValue<O>>
PrismObjectImpl.addInternal
(@NotNull PrismContainerValue newValue, boolean checkEquivalents, EquivalenceStrategy strategy) ItemImpl.addRespectingMetadataAndCloning
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) ItemImpl.addWithResult
(V newValue, @NotNull EquivalenceStrategy equivalenceStrategy) 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) ItemImpl.removeRespectingMetadata
(V value, @NotNull EquivalenceStrategy strategy, EquivalenceStrategy metadataEquivalenceStrategy) ItemImpl.removeWithResult
(V value, @NotNull EquivalenceStrategy strategy) void
ItemImpl.replaceAll
(Collection<V> newValues, @NotNull EquivalenceStrategy strategy) boolean
PrismContainerValueImpl.representsSameValue
(PrismValue other, EquivalenceStrategy strategy, boolean lax) boolean
PrismValueImpl.representsSameValue
(PrismValue other, EquivalenceStrategy strategy, boolean lax) 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) 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) 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) 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) 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.delta
Modifier and TypeMethodDescriptionprotected V
ItemTreeDelta.findMatchingValue
(V other, EquivalenceStrategy strategy) ContainerTreeDeltaValue.getConflictsWith
(ItemTreeDeltaValue other, EquivalenceStrategy strategy) @NotNull Collection<Conflict>
ItemTreeDelta.getConflictsWith
(ItemTreeDelta<PV, ID, I, V> other, EquivalenceStrategy strategy) ItemTreeDeltaValue.getConflictsWith
(ItemTreeDeltaValue other, EquivalenceStrategy strategy) @NotNull Collection<? extends ItemDelta<?,
?>> ItemTreeDelta.getNonConflictingModifications
(ItemTreeDelta<PV, ID, I, V> other, EquivalenceStrategy strategy) Collection<? extends ItemDelta<?,
?>> ItemTreeDeltaValue.getNonConflictingModifications
(ItemTreeDeltaValue other, EquivalenceStrategy strategy) boolean
ItemTreeDelta.hasConflictWith
(ItemTreeDelta<PV, ID, I, V> other, EquivalenceStrategy strategy) boolean
ItemTreeDeltaValue.hasConflictWith
(ItemTreeDeltaValue other, EquivalenceStrategy strategy) <V extends ItemTreeDeltaValue>
booleanContainerTreeDeltaValue.match
(V other, EquivalenceStrategy strategy) <V extends ItemTreeDeltaValue>
booleanItemTreeDeltaValue.match
(V other, EquivalenceStrategy strategy) -
Uses of EquivalenceStrategy in com.evolveum.midpoint.schema.metadata
Modifier and TypeClassDescriptionclass
Used to compare metadata from the provenance point of view.