Class QAssignmentMapping<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<S,Q,R>
  
com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping<AssignmentType,QAssignment<OR>,MAssignment,OR>
   
com.evolveum.midpoint.repo.sqale.qmodel.assignment.QAssignmentMapping<OR>
- Type Parameters:
- OR- type of the owner row
- All Implemented Interfaces:
- QOwnedByMapping<AssignmentType,,- MAssignment, - OR> - SqaleMappingMixin<AssignmentType,- QAssignment<OR>, - MAssignment> 
public class QAssignmentMapping<OR extends MObject>
extends QContainerMapping<AssignmentType,QAssignment<OR>,MAssignment,OR>   
Mapping between 
QAssignment and AssignmentType.
 There are separate instances for assignments and inducements and the instance also knows
 the MContainer.containerType it should set.
 Only the instance for assignments is registered for queries as there is no way to distinguish
 between assignments and inducements when searching containers in the Query API anyway.- 
Field SummaryFieldsFields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMappinglogger
- 
Method SummaryModifier and TypeMethodDescriptionstatic <OR extends MObject>
 QAssignmentMapping<OR>static <OR extends MObject>
 QAssignmentMapping<OR>static <OR extends MObject>
 QAssignmentMapping<OR>initAssignmentMapping(@NotNull SqaleRepoContext repositoryContext) static <OR extends MObject>
 QAssignmentMapping<OR>initInducementMapping(@NotNull SqaleRepoContext repositoryContext) insert(AssignmentType assignment, OR ownerRow, JdbcSession jdbcSession) protected QAssignment<OR>newAliasInstance(String alias) Method returning new instance ofEntityPath- to be implemented by sub-mapping.newRowObject(OR ownerRow) Returns a row with foreign key fields referencing the provided owner row.Implemented for searchable containers that do not use fullObject for their recreation.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMappingattachOwnerOid, containerIdentityPredicate, initContainerMapping, initRowObject, toSchemaObjectMethods 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, toSchemaObjectComplete, toSchemaObjectCompleteSafe, toSchemaObjectInternal, uriMapper, uuidMapperMethods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryTableMappingaddDetailFetchMapper, addExtensionColumn, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, 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- 
DEFAULT_ALIAS_NAME- See Also:
 
 
- 
- 
Method Details- 
initAssignmentMappingpublic static <OR extends MObject> QAssignmentMapping<OR> initAssignmentMapping(@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getAssignmentMapping
- 
initInducementMappingpublic static <OR extends MObject> QAssignmentMapping<OR> initInducementMapping(@NotNull @NotNull SqaleRepoContext repositoryContext) 
- 
getInducementMapping
- 
toSchemaObjectDescription copied from class:QContainerMappingImplemented for searchable containers that do not use fullObject for their recreation.- Overrides:
- toSchemaObjectin class- QContainerMapping<AssignmentType,- QAssignment<OR extends MObject>, - MAssignment, - OR extends MObject> 
 
- 
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- QContainerMapping<AssignmentType,- QAssignment<OR extends MObject>, - MAssignment, - OR extends MObject> 
 
- 
newRowObject- Overrides:
- newRowObjectin class- QueryTableMapping<AssignmentType,- QAssignment<OR extends MObject>, - MAssignment> 
 
- 
newRowObjectDescription copied from interface:QOwnedByMappingReturns a row with foreign key fields referencing the provided owner row.- Specified by:
- newRowObjectin interface- QOwnedByMapping<AssignmentType,- MAssignment, - OR extends MObject> 
- Overrides:
- newRowObjectin class- QContainerMapping<AssignmentType,- QAssignment<OR extends MObject>, - MAssignment, - OR extends MObject> 
 
- 
insert- Specified by:
- insertin interface- QOwnedByMapping<AssignmentType,- MAssignment, - OR extends MObject> 
- Overrides:
- insertin class- QContainerMapping<AssignmentType,- QAssignment<OR extends MObject>, - MAssignment, - OR extends MObject> 
 
 
-