Class CorrelationCaseDescription<F extends FocusType>
java.lang.Object
com.evolveum.midpoint.model.api.correlation.CorrelationCaseDescription<F>
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class CorrelationCaseDescription<F extends FocusType>
extends Object
implements DebugDumpable, Serializable
Describes a correlation case, typically when it's going to be presented to the user.
Need not be connected to actual
CaseType
object. The term "case" is used more figuratively here, to describe
a correlation situation that is going to be resolved.
Contains the object being correlated (currently called preFocus
) and the correlation candidates (candidates
).
The correlation data are represented as a set of correlationPropertiesDefinitions
,
whose values on the source are to be fetched directly from preFocus
, but the valued for
candidates are processed into the form of CorrelationCaseDescription.CorrelationPropertyValuesDescription
:
- sorted out into "primary" and "secondary" values (corresponding to the main identity and alternative ones),
- and providing a CorrelationCaseDescription.Match
value that shows the degree of match between the particular candidate and the pre-focus
on this particular property.
Optionally, there may be a CorrelationExplanation
object for each correlation candidate. (If requested.)- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
How well the candidate matches the object being correlated on given correlation property? -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCandidate
(CorrelationCaseDescription.CandidateDescription<F> description) void
debugDump
(int indent) @NotNull List<CorrelationCaseDescription.CandidateDescription<F>>
@NotNull PathKeyedMap<CorrelationPropertyDefinition>
@NotNull List<CorrelationPropertyDefinition>
The list is sorted according to display order (and display name, in case of ambiguity).boolean
hasCorrelationProperty
(@NotNull ItemPath path) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
CorrelationCaseDescription
-
-
Method Details
-
getPreFocus
-
getCorrelationPropertiesDefinitions
@NotNull public @NotNull PathKeyedMap<CorrelationPropertyDefinition> getCorrelationPropertiesDefinitions() -
getCorrelationPropertiesDefinitionsList
@NotNull public @NotNull List<CorrelationPropertyDefinition> getCorrelationPropertiesDefinitionsList()The list is sorted according to display order (and display name, in case of ambiguity). -
getCandidates
-
hasCorrelationProperty
-
addCorrelationPropertyDefinition
-
toString
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
addCandidate
-