- 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<Referencable,Q,R>
- 
- com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMapping<QObjectReference<OR>,MReference,OQ,OR>
- 
- com.evolveum.midpoint.repo.sqale.qmodel.ref.QObjectReferenceMapping<OQ,OR>
 
 
 
 
 
- 
- Type Parameters:
- OQ- query type of the reference owner
- OR- row type of the reference owner (related to- QObjectReferenceMapping)
 - All Implemented Interfaces:
- QOwnedByMapping<Referencable,MReference,OR>,- SqaleMappingMixin<Referencable,QObjectReference<OR>,MReference>
 
 public class QObjectReferenceMapping<OQ extends QObject<OR>,OR extends MObject> extends QReferenceMapping<QObjectReference<OR>,MReference,OQ,OR> Mapping betweenQObjectReferenceandObjectReferenceType. The mapping is the same for all sub-tables, see various static `get*()` methods below. Mapping instances are initialized (`init*()` methods) inQObjectMappingsubclasses. Both `init*` and `get*` methods are flexibly parametrized to adapt to the client code. Init methods can be called multiple times, only one instance for each sub-tables is created.
- 
- 
Field SummaryFields Modifier and Type Field Description static QObjectReferenceMapping<?,?>instanceArchetypestatic QObjectReferenceMapping<?,?>instanceCreateApproverstatic QObjectReferenceMapping<?,?>instanceDelegatedstatic QObjectReferenceMapping<QObjectTemplate,MObject>instanceIncludestatic QObjectReferenceMapping<?,?>instanceModifyApproverstatic QObjectReferenceMapping<?,?>instanceParentOrgstatic QObjectReferenceMapping<?,?>instancePersonastatic QObjectReferenceMapping<?,?>instanceProjectionstatic QObjectReferenceMapping<QResource,MResource>instanceResourceBusinessConfigurationApproverstatic QObjectReferenceMapping<?,?>instanceRoleMembership- 
Fields inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMappingDEFAULT_ALIAS_NAME
 - 
Fields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMappinglogger
 
- 
 - 
Method Summary- 
Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMappinginit, insert
 - 
Methods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMappingaddExtensionMapping, 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.QueryTableMappingaddDetailFetchMapper, 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.QueryModelMappingaddItemMapping, addRelationResolver, getItemMapper, getItemMappings, getRelationResolver, itemDefinition, itemMapper, queryType, relationResolver, schemaType
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixinaddAuditRefMapping, addContainerTableMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
 
- 
 
- 
- 
- 
Field Detail- 
instanceArchetypepublic static QObjectReferenceMapping<?,?> instanceArchetype 
 - 
instanceDelegatedpublic static QObjectReferenceMapping<?,?> instanceDelegated 
 - 
instanceIncludepublic static QObjectReferenceMapping<QObjectTemplate,MObject> instanceInclude 
 - 
instanceProjectionpublic static QObjectReferenceMapping<?,?> instanceProjection 
 - 
instanceCreateApproverpublic static QObjectReferenceMapping<?,?> instanceCreateApprover 
 - 
instanceModifyApproverpublic static QObjectReferenceMapping<?,?> instanceModifyApprover 
 - 
instanceParentOrgpublic static QObjectReferenceMapping<?,?> instanceParentOrg 
 - 
instancePersonapublic static QObjectReferenceMapping<?,?> instancePersona 
 - 
instanceResourceBusinessConfigurationApproverpublic static QObjectReferenceMapping<QResource,MResource> instanceResourceBusinessConfigurationApprover 
 - 
instanceRoleMembershippublic static QObjectReferenceMapping<?,?> instanceRoleMembership 
 
- 
 - 
Method Detail- 
initForArchetypepublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForArchetype(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForArchetypepublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForArchetype() 
 - 
initForDelegatedpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForDelegated(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForDelegatedpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForDelegated() 
 - 
initForIncludepublic static QObjectReferenceMapping<QObjectTemplate,MObject> initForInclude(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForIncludepublic static QObjectReferenceMapping<QObjectTemplate,MObject> getForInclude() 
 - 
initForProjectionpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForProjection(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForProjectionpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForProjection() 
 - 
initForCreateApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForCreateApprover(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForCreateApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForCreateApprover() 
 - 
initForModifyApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForModifyApprover(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForModifyApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForModifyApprover() 
 - 
initForParentOrgpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForParentOrg(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForParentOrgpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForParentOrg() 
 - 
initForPersonapublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForPersona(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForPersonapublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForPersona() 
 - 
initForResourceBusinessConfigurationApproverpublic static QObjectReferenceMapping<QResource,MResource> initForResourceBusinessConfigurationApprover(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForResourceBusinessConfigurationApproverpublic static QObjectReferenceMapping<QResource,MResource> getForResourceBusinessConfigurationApprover() 
 - 
initForRoleMembershippublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> initForRoleMembership(@NotNull @NotNull SqaleRepoContext repositoryContext) 
 - 
getForRoleMembershippublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<Q,R> getForRoleMembership() 
 - 
newAliasInstanceprotected QObjectReference<OR> newAliasInstance(String alias) Description copied from class:QueryTableMappingMethod 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.- Overrides:
- newAliasInstancein class- QReferenceMapping<QObjectReference<OR extends MObject>,MReference,OQ extends QObject<OR>,OR extends MObject>
 
 - 
newRowObjectpublic MReference newRowObject(MObject ownerRow) Description copied from class:QReferenceMappingDefines a contract for creating the reference for the provided owner row.- Specified by:
- newRowObjectin interface- QOwnedByMapping<Referencable,MReference,OR extends MObject>
- Overrides:
- newRowObjectin class- QReferenceMapping<QObjectReference<OR extends MObject>,MReference,OQ extends QObject<OR>,OR extends MObject>
 
 - 
correlationPredicatepublic BiFunction<OQ,QObjectReference<OR>,com.querydsl.core.types.Predicate> correlationPredicate() Description copied from class:QReferenceMappingReturns a bi-function that constructs correlation query predicate for owner and reference.- Overrides:
- correlationPredicatein class- QReferenceMapping<QObjectReference<OR extends MObject>,MReference,OQ extends QObject<OR>,OR extends MObject>
 
 
- 
 
-