Class ValueSetDefinition<IV extends PrismValue,D extends ItemDefinition<?>>
java.lang.Object
com.evolveum.midpoint.repo.common.expression.ValueSetDefinition<IV,D>
- Author:
- semancik
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Item-specific specifications, e.g., assignment subtype. -
Constructor Summary
ConstructorDescriptionValueSetDefinition
(ValueSetDefinitionType setDefinitionBean, @NotNull ValueSetDefinition.ExtraSetSpecification extraSetSpecification, D itemDefinition, PrismContainerDefinition<ValueMetadataType> valueMetadataDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String additionalVariableName, MappingSpecificationType mappingSpecification, List<MappingSpecificationType> mappingAliasSpecification, String localContextDescription, String shortDesc, Task task, OperationResult result) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
containsTunnel
(IV pval) Same as contains, but wraps exceptions in TunnelException.boolean
containsYieldTunnel
(IV pval, @Nullable PrismContainerValue<?> metadataValue) Same as containsYield, but wraps exceptions in TunnelException.boolean
hasMappingSpecification
(@NotNull ValueMetadataType md) void
init()
boolean
Whether we deal with whole values (false) or only with specific yields (true).void
setAdditionalVariables
(VariablesMap additionalVariables)
-
Constructor Details
-
ValueSetDefinition
public ValueSetDefinition(ValueSetDefinitionType setDefinitionBean, @NotNull @NotNull ValueSetDefinition.ExtraSetSpecification extraSetSpecification, @NotNull D itemDefinition, PrismContainerDefinition<ValueMetadataType> valueMetadataDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String additionalVariableName, MappingSpecificationType mappingSpecification, List<MappingSpecificationType> mappingAliasSpecification, String localContextDescription, String shortDesc, Task task, OperationResult result)
-
-
Method Details
-
init
public void init() throws SchemaException, ObjectNotFoundException, SecurityViolationException, ConfigurationException -
setAdditionalVariables
-
contains
public boolean contains(IV pval) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException -
containsTunnel
Same as contains, but wraps exceptions in TunnelException. -
containsYieldTunnel
public boolean containsYieldTunnel(IV pval, @Nullable @Nullable PrismContainerValue<?> metadataValue) Same as containsYield, but wraps exceptions in TunnelException. -
isYieldSpecific
Whether we deal with whole values (false) or only with specific yields (true). Current implementation is approximate: The only situation when dealing with the yields is when "matchingProvenance" predefined set is used. -
hasMappingSpecification
-