Class QProcessedObjectEventMarkReferenceMapping
java.lang.Object
com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping<S,Q,R>
com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping<S,Q,R>
com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping<ObjectReferenceType,Q,R>
com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMapping<QProcessedObjectEventMarkReference,MProcessedObjectEventMarkReference,QProcessedObject,MProcessedObject>
com.evolveum.midpoint.repo.sqale.qmodel.simulation.QProcessedObjectEventMarkReferenceMapping
- All Implemented Interfaces:
QOwnedByMapping<ObjectReferenceType,
,MProcessedObjectEventMarkReference, MProcessedObject> SqaleMappingMixin<ObjectReferenceType,
QProcessedObjectEventMarkReference, MProcessedObjectEventMarkReference>
public class QProcessedObjectEventMarkReferenceMapping
extends QReferenceMapping<QProcessedObjectEventMarkReference,MProcessedObjectEventMarkReference,QProcessedObject,MProcessedObject>
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMapping
DEFAULT_ALIAS_NAME, MAPPING_BY_OWNER_TYPE_AND_PATH, referencePath
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger
-
Constructor Summary
ModifierConstructorDescriptionprotected
QProcessedObjectEventMarkReferenceMapping
(String tableName, String defaultAliasName, @NotNull SqaleRepoContext repositoryContext, @NotNull Supplier<QueryTableMapping<?, TQ, TR>> targetMappingSupplier) -
Method Summary
Modifier and TypeMethodDescriptionBiFunction<QProcessedObject,
QProcessedObjectEventMarkReference, com.querydsl.core.types.Predicate> Returns a bi-function that constructs correlation query predicate for owner and reference.init
(@NotNull SqaleRepoContext repositoryContext) protected QProcessedObjectEventMarkReference
newAliasInstance
(String alias) Method returning new instance ofEntityPath
- to be implemented by sub-mapping.newRowObject
(MProcessedObject ownerRow) Defines a contract for creating the reference for the provided owner row.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMapping
getByOwnerTypeAndPath, insert, registerByOwnerTypeAndPath
Methods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, createRowTransformer, enumMapper, fullObjectItemsToSkip, insert, integerMapper, multiPolyStringMapper, multiStringMapper, multiUriMapper, multiValueMapper, needsInitialization, objectReference, objectReference, objectTypeToQName, parseSchemaObject, parseSchemaObject, polyStringMapper, processCacheableRelation, processCacheableUri, processCacheableUri, processCacheableUris, processExtensionColumns, processExtensions, repositoryContext, resolveIdToUri, resolveReferenceNames, resolveUriIdToQName, schemaTypeToObjectType, setPolyString, setReference, storeRefs, stringMapper, stringsToArray, timestampMapper, toSchemaObject, toSchemaObject, toSchemaObjectComplete, toSchemaObjectCompleteSafe, toSchemaObjectInternal, uriMapper, uuidMapper
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMapping
addDetailFetchMapper, addExtensionColumn, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, newRowObject, prismContext, selectExpressions, selectExpressionsWithCustomColumns, tableName, toString, updateGetOptions
Methods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
addItemMapping, addRelationResolver, getItemMapper, getItemMappings, getRelationResolver, itemDefinition, itemMapper, queryType, relationResolver, schemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixin
addAuditRefMapping, addContainerTableMapping, addExtensionMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
-
Field Details
-
instance
-
-
Constructor Details
-
QProcessedObjectEventMarkReferenceMapping
protected QProcessedObjectEventMarkReferenceMapping(String tableName, String defaultAliasName, @NotNull @NotNull SqaleRepoContext repositoryContext, @NotNull @NotNull Supplier<QueryTableMapping<?, TQ, TR>> targetMappingSupplier)
-
-
Method Details
-
init
public static QProcessedObjectEventMarkReferenceMapping init(@NotNull @NotNull SqaleRepoContext repositoryContext) -
getInstance
-
newAliasInstance
Description copied from class:QueryTableMapping
Method returning new instance ofEntityPath
- to be implemented by sub-mapping. This will create entity path without any extension columns, seeQueryTableMapping.newAlias(java.lang.String)
for that. -
newRowObject
Description copied from class:QReferenceMapping
Defines a contract for creating the reference for the provided owner row.- Specified by:
newRowObject
in interfaceQOwnedByMapping<ObjectReferenceType,
MProcessedObjectEventMarkReference, MProcessedObject> - Overrides:
newRowObject
in classQReferenceMapping<QProcessedObjectEventMarkReference,
MProcessedObjectEventMarkReference, QProcessedObject, MProcessedObject>
-
correlationPredicate
public BiFunction<QProcessedObject,QProcessedObjectEventMarkReference, correlationPredicate()com.querydsl.core.types.Predicate> Description copied from class:QReferenceMapping
Returns a bi-function that constructs correlation query predicate for owner and reference.
-