Class ValueSetDefinition<IV extends PrismValue,D extends ItemDefinition>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.expression.ValueSetDefinition<IV,D>
-
public class ValueSetDefinition<IV extends PrismValue,D extends ItemDefinition> extends Object
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description ValueSetDefinition(ValueSetDefinitionType setDefinitionBean, D itemDefinition, PrismContainerDefinition<ValueMetadataType> valueMetadataDefinition, ExpressionProfile expressionProfile, String additionalVariableName, MappingSpecificationType mappingSpecification, String localContextDescription, String shortDesc, Task task, OperationResult result)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(IV pval)
boolean
containsTunnel(IV pval)
Same as contains, but wraps exceptions in TunnelException.boolean
containsYield(IV pval, ValueMetadataType metadata)
boolean
containsYieldTunnel(IV pval, @Nullable PrismContainerValue<?> metadataValue)
Same as containsYield, but wraps exceptions in TunnelException.void
init(ExpressionFactory expressionFactory)
boolean
isYieldSpecific()
Whether we deal with whole values (false) or only with specific yields (true).void
setAdditionalVariables(VariablesMap additionalVariables)
-
-
-
Constructor Detail
-
ValueSetDefinition
public ValueSetDefinition(ValueSetDefinitionType setDefinitionBean, D itemDefinition, PrismContainerDefinition<ValueMetadataType> valueMetadataDefinition, ExpressionProfile expressionProfile, String additionalVariableName, MappingSpecificationType mappingSpecification, String localContextDescription, String shortDesc, Task task, OperationResult result)
-
-
Method Detail
-
init
public void init(ExpressionFactory expressionFactory) throws SchemaException, ObjectNotFoundException, SecurityViolationException
-
setAdditionalVariables
public void setAdditionalVariables(VariablesMap additionalVariables)
-
contains
public boolean contains(IV pval) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
-
containsYield
public boolean containsYield(IV pval, ValueMetadataType metadata) throws SchemaException, ExpressionEvaluationException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException
-
containsTunnel
public boolean containsTunnel(IV pval)
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
@Experimental public boolean 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.
-
-