Class SinglePathItemDeltaProcessor<T,P extends com.querydsl.core.types.Path<T>>
java.lang.Object
com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.SinglePathItemDeltaProcessor<T,P>
- Type Parameters:
T
- type of real value after optional conversion (ItemDeltaValueProcessor.convertRealValue(Object)
to match the column (attribute) type in the row bean (M-type)P
- type of the corresponding path in the Q-type
- All Implemented Interfaces:
ItemDeltaProcessor
- Direct Known Subclasses:
EnumItemDeltaProcessor
,QTaskMapping.FullResultDeltaProcessor
,TimestampItemDeltaProcessor
,UriItemDeltaProcessor
public class SinglePathItemDeltaProcessor<T,P extends com.querydsl.core.types.Path<T>>
extends ItemDeltaSingleValueProcessor<T>
Processor for items represented by a single column (query path).
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
context
-
Constructor Summary
ConstructorDescriptionSinglePathItemDeltaProcessor
(SqaleUpdateContext<?, Q, R> context, Function<Q, P> rootToQueryItem) -
Method Summary
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor
getAnyValue, process, setRealValues
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
addRealValues, addValues, convertRealValue, deleteRealValues, deleteValues
-
Field Details
-
path
-
-
Constructor Details
-
SinglePathItemDeltaProcessor
public SinglePathItemDeltaProcessor(SqaleUpdateContext<?, Q, R> context, Function<Q, P> rootToQueryItem) - Type Parameters:
Q
- entity query type from which the attribute is resolvedR
- row type related toSinglePathItemDeltaProcessor
-
-
Method Details
-
setValue
Description copied from class:ItemDeltaSingleValueProcessor
Sets the database columns to reflect the provided value (converted if necessary).- Specified by:
setValue
in classItemDeltaSingleValueProcessor<T>
-
delete
public void delete()Description copied from class:ItemDeltaValueProcessor
Resets the database columns or deletes sub-entities like refs, containers, etc. This must be implemented to support clearing the columns of single-value embedded containers.- Specified by:
delete
in classItemDeltaValueProcessor<T>
-