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 actualCaseType
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 calledpreFocus
) and the correlation candidates (candidates
). The correlation data are represented as a set ofcorrelationProperties
, whose values on the source are to be fetched directly frompreFocus
, but the valued for candidates are processed into the form ofCorrelationCaseDescription.CorrelationPropertyValuesDescription
: - sorted out into "primary" and "secondary" values (corresponding to the main identity and alternative ones), - and providing aCorrelationCaseDescription.Match
value that shows the degree of match between the particular candidate and the pre-focus on this particular property. Optionally, there may be aCorrelationExplanation
object for each correlation candidate. (If requested.)- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CorrelationCaseDescription.CandidateDescription<F extends FocusType>
static class
CorrelationCaseDescription.CorrelationProperty
Contains information about a correlation property that is to be (e.g.) displayed in the correlation case view.static class
CorrelationCaseDescription.CorrelationPropertyValuesDescription
static class
CorrelationCaseDescription.Match
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
Constructors Constructor Description CorrelationCaseDescription(F preFocus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCandidate(CorrelationCaseDescription.CandidateDescription<F> description)
void
addCorrelationProperty(CorrelationCaseDescription.CorrelationProperty property)
String
debugDump(int indent)
@NotNull List<CorrelationCaseDescription.CandidateDescription<F>>
getCandidates()
@NotNull PathKeyedMap<CorrelationCaseDescription.CorrelationProperty>
getCorrelationProperties()
F
getPreFocus()
String
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 Detail
-
CorrelationCaseDescription
public CorrelationCaseDescription(@NotNull F preFocus)
-
-
Method Detail
-
getPreFocus
@NotNull public F getPreFocus()
-
getCorrelationProperties
@NotNull public @NotNull PathKeyedMap<CorrelationCaseDescription.CorrelationProperty> getCorrelationProperties()
-
getCandidates
@NotNull public @NotNull List<CorrelationCaseDescription.CandidateDescription<F>> getCandidates()
-
addCorrelationProperty
public void addCorrelationProperty(CorrelationCaseDescription.CorrelationProperty property)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
addCandidate
public void addCandidate(CorrelationCaseDescription.CandidateDescription<F> description)
-
-