Class QObjectReferenceMapping<OS extends ObjectType,OQ extends QObject<OR>,OR extends MObject>  
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<QObjectReference<OR>,MReference,OQ,OR>
   
com.evolveum.midpoint.repo.sqale.qmodel.ref.QObjectReferenceMapping<OS,OQ,OR>  
- Type Parameters:
- OS- owner schema type
- OQ- query type of the reference owner
- OR- row type of the reference owner (related to- QObjectReferenceMapping)
- All Implemented Interfaces:
- QOwnedByMapping<ObjectReferenceType,,- MReference, - OR> - SqaleMappingMixin<ObjectReferenceType,- QObjectReference<OR>, - MReference> 
public class QObjectReferenceMapping<OS extends ObjectType,OQ extends QObject<OR>,OR extends MObject>  
extends QReferenceMapping<QObjectReference<OR>,MReference,OQ,OR>   
Mapping between 
QObjectReference and ObjectReferenceType.
 The mapping is the same for all sub-tables, see various static `get*()` methods below.
 Mapping instances are initialized (`init*()` methods) in QObjectMapping subclasses.
 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 SummaryFieldsModifier and TypeFieldDescriptionstatic QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,QObjectTemplate, MObject> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,?, ?> static QObjectReferenceMapping<?,QResource, MResource> static QObjectReferenceMapping<?,?, ?> Fields inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMappingDEFAULT_ALIAS_NAME, MAPPING_BY_OWNER_TYPE_AND_PATH, referencePathFields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMappinglogger
- 
Method SummaryModifier and TypeMethodDescriptionBiFunction<OQ,QObjectReference<OR>, com.querydsl.core.types.Predicate> Returns a bi-function that constructs correlation query predicate for owner and reference.createRowTransformer(SqlQueryContext<ObjectReferenceType, QObjectReference<OR>, MReference> sqlQueryContext, JdbcSession jdbcSession) References are extracted from their owner objects insideResultListRowTransformer.beforeTransformation(java.util.List<com.querydsl.core.Tuple>, Q).static <OQ extends QObject<OR>,OR extends MObject> 
 QObjectReferenceMapping<?,OQ, OR> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> static QObjectReferenceMapping<?,QObjectTemplate, MObject> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> static <OQ extends QObject<OR>,OR extends MObject> 
 QObjectReferenceMapping<?,OQ, OR> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> static QObjectReferenceMapping<?,QResource, MResource> static <OS extends ObjectType,OQ extends QObject<OR>, OR extends MObject> 
 QObjectReferenceMapping<OS,OQ, OR> static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForArchetype(@NotNull SqaleRepoContext repositoryContext) static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForCreateApprover(@NotNull SqaleRepoContext repositoryContext) static <OQ extends QObject<OR>,OR extends MObject> 
 QObjectReferenceMapping<?,OQ, OR> initForDelegated(@NotNull SqaleRepoContext repositoryContext) static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForEffectiveMark(@NotNull SqaleRepoContext repositoryContext) static QObjectReferenceMapping<?,QObjectTemplate, MObject> initForInclude(@NotNull SqaleRepoContext repositoryContext) static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForModifyApprover(@NotNull SqaleRepoContext repositoryContext) static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForParentOrg(@NotNull SqaleRepoContext repositoryContext) static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForPersona(@NotNull SqaleRepoContext repositoryContext) static <Q extends QObject<R>,R extends MObject> 
 QObjectReferenceMapping<?,Q, R> initForProjection(@NotNull SqaleRepoContext repositoryContext) static QObjectReferenceMapping<?,QResource, MResource> initForResourceBusinessConfigurationApprover(@NotNull SqaleRepoContext repositoryContext) static <OS extends ObjectType,OQ extends QObject<OR>, OR extends MObject> 
 QObjectReferenceMapping<OS,OQ, OR> initForRoleMembership(@NotNull SqaleRepoContext repositoryContext) protected QObjectReference<OR>newAliasInstance(String alias) Method returning new instance ofEntityPath- to be implemented by sub-mapping.newRowObject(MObject ownerRow) Defines a contract for creating the reference for the provided owner row.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.ref.QReferenceMappinggetByOwnerTypeAndPath, init, insert, registerByOwnerTypeAndPathMethods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMappingaddExtensionMapping, binaryMapper, booleanMapper, createFullObject, 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, uuidMapperMethods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMappingaddDetailFetchMapper, addExtensionColumn, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, newRowObject, prismContext, selectExpressions, selectExpressionsWithCustomColumns, tableName, toString, updateGetOptionsMethods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMappingaddItemMapping, addRelationResolver, getItemMapper, getItemMappings, getRelationResolver, itemDefinition, itemMapper, queryType, relationResolver, schemaTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixinaddAuditRefMapping, addContainerTableMapping, addExtensionMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
- 
Field Details- 
instanceArchetype
- 
instanceDelegated
- 
instanceInclude
- 
instanceProjection
- 
instanceCreateApprover
- 
instanceModifyApprover
- 
instanceParentOrg
- 
instancePersona
- 
instanceResourceBusinessConfigurationApproverpublic static QObjectReferenceMapping<?,QResource, instanceResourceBusinessConfigurationApproverMResource> 
- 
instanceRoleMembership
- 
instanceEffectiveMark
 
- 
- 
Method Details- 
initForArchetypepublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForArchetypeR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForArchetypepublic static <OQ extends QObject<OR>,OR extends MObject> QObjectReferenceMapping<?,OQ, getForArchetype()OR> 
- 
initForDelegatedpublic static <OQ extends QObject<OR>,OR extends MObject> QObjectReferenceMapping<?,OQ, initForDelegatedOR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForDelegatedpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, getForDelegated()R> 
- 
initForEffectiveMarkpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForEffectiveMarkR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForEffectiveMarkpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, getForEffectiveMark()R> 
- 
initForIncludepublic static QObjectReferenceMapping<?,QObjectTemplate, initForIncludeMObject> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForInclude
- 
initForProjectionpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForProjectionR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForProjectionpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, getForProjection()R> 
- 
initForCreateApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForCreateApproverR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForCreateApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, getForCreateApprover()R> 
- 
initForModifyApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForModifyApproverR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForModifyApproverpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, getForModifyApprover()R> 
- 
initForParentOrgpublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForParentOrgR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForParentOrgpublic static <OQ extends QObject<OR>,OR extends MObject> QObjectReferenceMapping<?,OQ, getForParentOrg()OR> 
- 
initForPersonapublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, initForPersonaR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForPersonapublic static <Q extends QObject<R>,R extends MObject> QObjectReferenceMapping<?,Q, getForPersona()R> 
- 
initForResourceBusinessConfigurationApproverpublic static QObjectReferenceMapping<?,QResource, initForResourceBusinessConfigurationApproverMResource> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForResourceBusinessConfigurationApproverpublic static QObjectReferenceMapping<?,QResource, getForResourceBusinessConfigurationApprover()MResource> 
- 
initForRoleMembershippublic static <OS extends ObjectType,OQ extends QObject<OR>, QObjectReferenceMapping<OS,OR extends MObject> OQ, initForRoleMembershipOR> (@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getForRoleMembershippublic static <OS extends ObjectType,OQ extends QObject<OR>, QObjectReferenceMapping<OS,OR extends MObject> OQ, getForRoleMembership()OR> 
- 
newAliasInstanceDescription 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> 
 
- 
newRowObjectDescription copied from class:QReferenceMappingDefines a contract for creating the reference for the provided owner row.- Specified by:
- newRowObjectin interface- QOwnedByMapping<OS extends ObjectType,- OQ extends QObject<OR>, - OR extends MObject> 
- Overrides:
- newRowObjectin class- QReferenceMapping<QObjectReference<OR extends MObject>,- MReference, - OQ extends QObject<OR>, - OR extends MObject> 
 
- 
correlationPredicateDescription 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> 
 
- 
createRowTransformerpublic ResultListRowTransformer<ObjectReferenceType,QObjectReference<OR>, createRowTransformerMReference> (SqlQueryContext<ObjectReferenceType, QObjectReference<OR>, MReference> sqlQueryContext, JdbcSession jdbcSession) References are extracted from their owner objects insideResultListRowTransformer.beforeTransformation(java.util.List<com.querydsl.core.Tuple>, Q).- Overrides:
- createRowTransformerin class- SqaleTableMapping<ObjectReferenceType,- QObjectReference<OR extends MObject>, - MReference> 
 
 
-