Class CorrelationItem
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.correlator.items.CorrelationItem
-
- All Implemented Interfaces:
DebugDumpable
public class CorrelationItem extends Object implements DebugDumpable
Instance of a correlation item TODO finish! cleanup!
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description S_FilterExit
addClauseToQueryBuilder(S_FilterEntry builder, Task task, OperationResult result)
static CorrelationItem
create(@NotNull CorrelationItemType itemBean, @NotNull CorrelatorContext<?> correlatorContext, @NotNull ObjectType preFocus)
String
debugDump(int indent)
@NotNull String
getName()
Object
getRealValue()
Returns the source value that should be used for the correlation.boolean
isApplicable()
Can we use this item for correlation? Temporary implementation: We can, if it's non-null.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
-
-
-
-
Method Detail
-
create
public static CorrelationItem create(@NotNull @NotNull CorrelationItemType itemBean, @NotNull @NotNull CorrelatorContext<?> correlatorContext, @NotNull @NotNull ObjectType preFocus) throws ConfigurationException
- Throws:
ConfigurationException
-
getRealValue
public Object getRealValue() throws SchemaException
Returns the source value that should be used for the correlation. We assume there is a single one.- Throws:
SchemaException
-
addClauseToQueryBuilder
public S_FilterExit addClauseToQueryBuilder(S_FilterEntry builder, Task task, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException
-
isApplicable
public boolean isApplicable() throws SchemaException
Can we use this item for correlation? Temporary implementation: We can, if it's non-null. (In future we might configure the behavior in such cases.)- Throws:
SchemaException
-
getName
@NotNull public @NotNull String getName()
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-