Class QProcessedObjectMapping
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<SimulationResultProcessedObjectType,QProcessedObject,MProcessedObject,MSimulationResult>
com.evolveum.midpoint.repo.sqale.qmodel.simulation.QProcessedObjectMapping
- All Implemented Interfaces:
QOwnedByMapping<SimulationResultProcessedObjectType,,MProcessedObject, MSimulationResult> SqaleMappingMixin<SimulationResultProcessedObjectType,QProcessedObject, MProcessedObject>
public class QProcessedObjectMapping
extends QContainerMapping<SimulationResultProcessedObjectType,QProcessedObject,MProcessedObject,MSimulationResult>
-
Field Summary
FieldsFields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected PathSetstatic QProcessedObjectMappingstatic @NotNull QProcessedObjectMappinginitProcessedResultMapping(@NotNull SqaleRepoContext repositoryContext) insert(SimulationResultProcessedObjectType object, MSimulationResult ownerRow, JdbcSession jdbcSession) protected QProcessedObjectnewAliasInstance(String alias) Method returning new instance ofEntityPath- to be implemented by sub-mapping.newRowObject(MSimulationResult ownerRow) Returns a row with foreign key fields referencing the provided owner row.static StringpartitionName(String oid) Implemented for searchable containers that do not use fullObject for their recreation.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
attachContainerIdPath, attachOwnerOid, containerIdentityPredicate, containerIdPath, initContainerMapping, initRowObject, selectExpressions, toSchemaObject, useDeltaApplyResultsMethods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, createRowTransformer, definitionDerivation, definitionDerivationKey, doubleMapper, enumMapper, getDefinition, getPartitionManager, insert, integerMapper, multiPolyStringMapper, multiStringMapper, multiUriMapper, multiValueMapper, needsInitialization, objectReference, objectReference, objectTypeToQName, parseSchemaObject, parseSchemaObject, polyStringMapper, preprocessCacheableUris, 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.QueryTableMapping
addDetailFetchMapper, addExtensionColumn, appendPaths, defaultAlias, defaultAliasName, detailFetchMappers, getExtensionColumns, joinOn, longMapper, newAlias, paths, prismContext, selectExpressionsWithCustomColumns, tableName, toString, updateGetOptionsMethods inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
addItemMapping, addRelationResolver, getItemMapper, getItemMappings, getRelationResolver, itemDefinition, itemMapper, queryType, relationResolver, schemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.sqale.mapping.SqaleMappingMixin
addAuditRefMapping, addContainerTableMapping, addExtensionMapping, addItemMapping, addNestedMapping, addRefMapping, addRefMapping, addRelationResolver, afterModify, queryType
-
Field Details
-
DEFAULT_ALIAS_NAME
- See Also:
-
PARTITION_PREFIX
- See Also:
-
-
Constructor Details
-
QProcessedObjectMapping
-
-
Method Details
-
initProcessedResultMapping
@NotNull public static @NotNull QProcessedObjectMapping initProcessedResultMapping(@NotNull @NotNull SqaleRepoContext repositoryContext) -
getProcessedObjectMapping
-
toSchemaObject
public SimulationResultProcessedObjectType toSchemaObject(MProcessedObject row) throws SchemaException Description copied from class:QContainerMappingImplemented for searchable containers that do not use fullObject for their recreation.- Overrides:
toSchemaObjectin classQContainerMapping<SimulationResultProcessedObjectType,QProcessedObject, MProcessedObject, MSimulationResult> - Throws:
SchemaException
-
newRowObject
- Overrides:
newRowObjectin classQueryTableMapping<SimulationResultProcessedObjectType,QProcessedObject, MProcessedObject>
-
newAliasInstance
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. -
newRowObject
Description copied from interface:QOwnedByMappingReturns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObjectin interfaceQOwnedByMapping<SimulationResultProcessedObjectType,MProcessedObject, MSimulationResult> - Overrides:
newRowObjectin classQContainerMapping<SimulationResultProcessedObjectType,QProcessedObject, MProcessedObject, MSimulationResult>
-
fullObjectItemsToSkip
-
insert
public MProcessedObject insert(SimulationResultProcessedObjectType object, MSimulationResult ownerRow, JdbcSession jdbcSession) throws SchemaException - Specified by:
insertin interfaceQOwnedByMapping<SimulationResultProcessedObjectType,MProcessedObject, MSimulationResult> - Overrides:
insertin classQContainerMapping<SimulationResultProcessedObjectType,QProcessedObject, MProcessedObject, MSimulationResult> - Throws:
SchemaException
-
partitionName
-
containerDepth
public int containerDepth()
-