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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic enumHow 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCandidate(CorrelationCaseDescription.CandidateDescription<F> description) voiddebugDump(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).booleanhasCorrelationProperty(@NotNull ItemPath path) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
debugDumpin interfaceDebugDumpable
-
addCandidate
-