Class CorrelationItemSource
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.correlator.items.CorrelationItemSource
-
public class CorrelationItemSource extends Object
"Source side" of aCorrelationItem
. TODO finish! TODO better name
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CorrelationItemSource
create(@NotNull CorrelationItemDefinitionType itemDefinitionBean, @NotNull CorrelatorContext<?> correlatorContext, @NotNull ShadowType resourceObject, @NotNull ObjectType preFocus)
Creates the source part ofCorrelationItem
from the definition (item bean) and the whole context.@Nullable ItemDefinition<?>
getDefinition()
@Nullable PrismProperty<?>
getProperty()
Object
getRealValue()
Returns the source value that should be used for the correlation.@NotNull Collection<?>
getRealValues()
Shouldn't return `null` values.String
toString()
-
-
-
Method Detail
-
create
public static CorrelationItemSource create(@NotNull @NotNull CorrelationItemDefinitionType itemDefinitionBean, @NotNull @NotNull CorrelatorContext<?> correlatorContext, @NotNull @NotNull ShadowType resourceObject, @NotNull @NotNull ObjectType preFocus) throws ConfigurationException
Creates the source part ofCorrelationItem
from the definition (item bean) and the whole context.- Parameters:
resourceObject
- Must be full resource object.- 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
-
getRealValues
@NotNull public @NotNull Collection<?> getRealValues() throws SchemaException
Shouldn't return `null` values.- Throws:
SchemaException
-
getProperty
@Nullable public @Nullable PrismProperty<?> getProperty() throws SchemaException
- Throws:
SchemaException
-
getDefinition
@Nullable public @Nullable ItemDefinition<?> getDefinition() throws SchemaException
- Throws:
SchemaException
-
-