Class EnumItemDeltaProcessor<E extends Enum<E>>
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<E,com.querydsl.core.types.dsl.EnumPath<E>>
com.evolveum.midpoint.repo.sqale.delta.item.EnumItemDeltaProcessor<E>
- Type Parameters:
E
- used enum type
- All Implemented Interfaces:
ItemDeltaProcessor
public class EnumItemDeltaProcessor<E extends Enum<E>>
extends SinglePathItemDeltaProcessor<E,com.querydsl.core.types.dsl.EnumPath<E>>
Delta processor for an attribute path (Prism item) of enum type that is mapped to matching
PostgreSQL enum type - this allows to use schema enums directly.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.item.SinglePathItemDeltaProcessor
path
Fields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor
context
-
Constructor Summary
ConstructorDescriptionEnumItemDeltaProcessor
(SqaleUpdateContext<?, Q, R> context, Function<Q, com.querydsl.core.types.dsl.EnumPath<E>> rootToQueryItem) -
Method Summary
Methods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.SinglePathItemDeltaProcessor
delete, setValue
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
-
Constructor Details
-
EnumItemDeltaProcessor
public EnumItemDeltaProcessor(SqaleUpdateContext<?, Q, R> context, Function<Q, com.querydsl.core.types.dsl.EnumPath<E>> rootToQueryItem) - Type Parameters:
Q
- entity query type from which the attribute is resolvedR
- row type related toEnumItemDeltaProcessor
-