Class MidpointProvenanceEquivalenceStrategy
java.lang.Object
com.evolveum.midpoint.schema.metadata.MidpointProvenanceEquivalenceStrategy
- All Implemented Interfaces:
EquivalenceStrategy
@Experimental
public class MidpointProvenanceEquivalenceStrategy
extends Object
implements EquivalenceStrategy
Used to compare metadata from the provenance point of view.
I.e. two metadata PC (or PCV) are equal iff they have the same acquisition. (TODO and mapping?)
So, this strategy cannot be applied to non-metadata PCs/PCVs.
Temporary implementation.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.prism.equivalence.EquivalenceStrategy
DATA, IGNORE_METADATA, LITERAL, NOT_LITERAL, REAL_VALUE, REAL_VALUE_CONSIDER_DIFFERENT_IDS
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
equals
(PrismValue first, PrismValue second) boolean
equals
(MappingSpecificationType mappingSpec1, MappingSpecificationType mappingSpec2) boolean
equals
(ProvenanceAcquisitionType acq1, ProvenanceAcquisitionType acq2) boolean
equals
(ValueMetadataType metadata1, ValueMetadataType metadata2) int
int
hashCode
(PrismValue value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.prism.equivalence.EquivalenceStrategy
prismValueComparator
-
Field Details
-
INSTANCE
-
-
Method Details
-
equals
- Specified by:
equals
in interfaceEquivalenceStrategy
-
equals
- Specified by:
equals
in interfaceEquivalenceStrategy
-
equals
-
equals
-
equals
-
hashCode
- Specified by:
hashCode
in interfaceEquivalenceStrategy
-
hashCode
- Specified by:
hashCode
in interfaceEquivalenceStrategy
-