Uses of Class
com.evolveum.midpoint.prism.equivalence.ParameterizedEquivalenceStrategy
Package
Description
Supports merging of (usually) configuration beans.
-
Uses of ParameterizedEquivalenceStrategy in com.evolveum.midpoint.prism
Modifier and TypeMethodDescriptionstatic <V extends PrismValue>
booleanPrismValueCollectionsUtil.collectionContainsEquivalentValue
(Collection<V> collection, V value, ParameterizedEquivalenceStrategy equivalenceStrategy) Item.diff
(Item<V, D> other, @NotNull ParameterizedEquivalenceStrategy strategy) Computes a difference (delta) with the specified item using given equivalence strategy.PrismContainer.diff
(PrismContainer<C> other, ParameterizedEquivalenceStrategy strategy) @NotNull ObjectDelta<O>
PrismObject.diff
(PrismObject<O> other, ParameterizedEquivalenceStrategy strategy) PrismProperty.diff
(PrismProperty<T> other, ParameterizedEquivalenceStrategy strategy) Collection<? extends ItemDelta>
PrismValue.diff
(PrismValue otherValue, ParameterizedEquivalenceStrategy strategy) Assumes matching representations.PrismContainer.diffModifications
(PrismContainer<C> other, ParameterizedEquivalenceStrategy strategy) boolean
Item.equals
(Object obj, @NotNull ParameterizedEquivalenceStrategy equivalenceStrategy) Compares this item to the specified object under given strategy.boolean
PrismPropertyValue.equals
(PrismPropertyValue<?> other, @NotNull ParameterizedEquivalenceStrategy strategy, @Nullable MatchingRule<T> matchingRule) boolean
PrismValue.equals
(PrismValue otherValue, @NotNull ParameterizedEquivalenceStrategy strategy) int
Item.hashCode
(@NotNull ParameterizedEquivalenceStrategy equivalenceStrategy) Computes hash code to be used under given equivalence strategy.int
PrismValue.hashCode
(@NotNull ParameterizedEquivalenceStrategy equivalenceStrategy) Collection<? extends ItemDelta<?,
?>> PrismObject.narrowModifications
(Collection<? extends ItemDelta<?, ?>> modifications, @NotNull ParameterizedEquivalenceStrategy plusStrategy, @NotNull ParameterizedEquivalenceStrategy minusStrategy, boolean assumeMissingItems) See description ofItemDelta.narrow(PrismObject, Comparator, Comparator, boolean)
method. -
Uses of ParameterizedEquivalenceStrategy in com.evolveum.midpoint.prism.deleg
Modifier and TypeMethodDescriptiondefault boolean
ItemDeltaDelegator.isRedundant
(PrismObject<? extends Objectable> object, ParameterizedEquivalenceStrategy strategy, boolean assumeMissingItems) -
Uses of ParameterizedEquivalenceStrategy in com.evolveum.midpoint.prism.delta
Modifier and TypeMethodDescriptionboolean
ItemDelta.isRedundant
(PrismObject<? extends Objectable> object, ParameterizedEquivalenceStrategy strategy, boolean assumeMissingItems) Checks if the delta is redundant w.r.t. current state of the object.boolean
ObjectDelta.isRedundant
(PrismObject<O> object, @NotNull ParameterizedEquivalenceStrategy plusStrategy, @NotNull ParameterizedEquivalenceStrategy minusStrategy, boolean assumeMissingItems) Check if delta is redundant w.r.t. given object - i.e. if its application would have no visible effect on that object.ObjectDelta.narrow
(PrismObject<O> existingObject, @NotNull ParameterizedEquivalenceStrategy plusStrategy, @NotNull ParameterizedEquivalenceStrategy minusStrategy, boolean assumeMissingItems) -
Uses of ParameterizedEquivalenceStrategy in com.evolveum.midpoint.prism.equivalence
Modifier and TypeFieldDescriptionstatic final ParameterizedEquivalenceStrategy
EquivalenceStrategy.DATA
Captures the data.static final ParameterizedEquivalenceStrategy
ParameterizedEquivalenceStrategy.DEFAULT_FOR_EQUALS
static final ParameterizedEquivalenceStrategy
ParameterizedEquivalenceStrategy.FOR_DELTA_ADD_APPLICATION
static final ParameterizedEquivalenceStrategy
ParameterizedEquivalenceStrategy.FOR_DELTA_DELETE_APPLICATION
static final ParameterizedEquivalenceStrategy
EquivalenceStrategy.IGNORE_METADATA
This is something betweenEquivalenceStrategy.DATA
andEquivalenceStrategy.REAL_VALUE
: ignores operational items and values, container IDs, value metadata (just like REAL_VALUE) but takes reference filters and reference resolution options (time, integrity), as well as item names into account (like DATA).static final ParameterizedEquivalenceStrategy
EquivalenceStrategy.LITERAL
Currently the highest level of recognition.static final ParameterizedEquivalenceStrategy
EquivalenceStrategy.NOT_LITERAL
Deprecated.static final ParameterizedEquivalenceStrategy
EquivalenceStrategy.REAL_VALUE
Captures the "real value" of the data: it is something that we consider equivalent so that if prism values A and B have the same real value, we do not want to be both present in the same multi-valued item (like assignment, roleMembershipRef, or whatever).static final ParameterizedEquivalenceStrategy
EquivalenceStrategy.REAL_VALUE_CONSIDER_DIFFERENT_IDS
AsEquivalenceStrategy.REAL_VALUE
but taking different PCV IDs into account (if both are present).Modifier and TypeMethodDescriptionParameterizedEquivalenceStrategy.clone()
ParameterizedEquivalenceStrategy.exceptForValueMetadata()
ParameterizedEquivalenceStrategy.getLiteral()
-
Uses of ParameterizedEquivalenceStrategy in com.evolveum.midpoint.schema
Modifier and TypeMethodDescriptionboolean
ObjectDeltaOperation.containsDelta
(ObjectDelta<O> delta, ParameterizedEquivalenceStrategy equivalenceStrategy) -
Uses of ParameterizedEquivalenceStrategy in com.evolveum.midpoint.schema.merger
Modifier and TypeFieldDescriptionstatic final @NotNull ParameterizedEquivalenceStrategy
BaseItemMerger.VALUE_COMPARISON_STRATEGY
We ignore value metadata when comparing (because inherited values do have them)