Class NestedContainerUpdateContext<S extends Containerable,Q extends FlexibleRelationalPathBase<R>,R>
java.lang.Object
com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext<S,Q,R>
com.evolveum.midpoint.repo.sqale.update.NestedContainerUpdateContext<S,Q,R>
- Type Parameters:
S
- schema type of the container mapped by the nested mappingQ
- entity query type that holds the data for the mapped attributesR
- row type related to theNestedContainerUpdateContext
public class NestedContainerUpdateContext<S extends Containerable,Q extends FlexibleRelationalPathBase<R>,R>
extends SqaleUpdateContext<S,Q,R>
Update context for nested containers stored in the same table used by the parent context.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext
jdbcSession, logger, parentContext, row, subcontexts
-
Constructor Summary
ConstructorDescriptionNestedContainerUpdateContext
(SqaleUpdateContext<?, Q, R> parentContext, SqaleNestedMapping<S, Q, R> mapping) -
Method Summary
Modifier and TypeMethodDescriptionReturns entity path (table) for the context.protected void
mapping()
<P extends com.querydsl.core.types.Path<T>,
T>
voidset
(P path, com.querydsl.core.types.Expression<T> value) <P extends com.querydsl.core.types.Path<T>,
T>
voidset
(P path, T value) <P extends com.querydsl.core.types.Path<T>,
T>
voidsetNull
(P path) Methods inherited from class com.evolveum.midpoint.repo.sqale.update.SqaleUpdateContext
addSubcontext, findValueOrItem, findValueOrItem, finishExecution, getSubcontext, insertOwnedRow, isOverwrittenId, jdbcSession, repositoryContext, row
-
Constructor Details
-
NestedContainerUpdateContext
public NestedContainerUpdateContext(SqaleUpdateContext<?, Q, R> parentContext, SqaleNestedMapping<S, Q, R> mapping)
-
-
Method Details
-
entityPath
Description copied from class:SqaleUpdateContext
Returns entity path (table) for the context. This is NOT the path for item column, which can be actually multiple columns (ref, poly) or just part of the value in the column (JSONB).- Specified by:
entityPath
in classSqaleUpdateContext<S extends Containerable,
Q extends FlexibleRelationalPathBase<R>, R>
-
mapping
- Specified by:
mapping
in classSqaleUpdateContext<S extends Containerable,
Q extends FlexibleRelationalPathBase<R>, R>
-
set
public <P extends com.querydsl.core.types.Path<T>,T> void set(P path, T value) - Specified by:
set
in classSqaleUpdateContext<S extends Containerable,
Q extends FlexibleRelationalPathBase<R>, R>
-
set
public <P extends com.querydsl.core.types.Path<T>,T> void set(P path, com.querydsl.core.types.Expression<T> value) - Specified by:
set
in classSqaleUpdateContext<S extends Containerable,
Q extends FlexibleRelationalPathBase<R>, R>
-
setNull
public <P extends com.querydsl.core.types.Path<T>,T> void setNull(P path) - Specified by:
setNull
in classSqaleUpdateContext<S extends Containerable,
Q extends FlexibleRelationalPathBase<R>, R>
-
finishExecutionOwn
protected void finishExecutionOwn()- Specified by:
finishExecutionOwn
in classSqaleUpdateContext<S extends Containerable,
Q extends FlexibleRelationalPathBase<R>, R>
-