Class QValueMetadataMapping<OR,M extends MValueMetadata,Q extends QValueMetadata<M,OR>>
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<ValueMetadataType,Q,M,OR>
com.evolveum.midpoint.repo.sqale.qmodel.metadata.QValueMetadataMapping<OR,M,Q>
- All Implemented Interfaces:
QOwnedByMapping<ValueMetadataType,,M, OR> SqaleMappingMixin<ValueMetadataType,Q, M>
- Direct Known Subclasses:
QAssignmentMetadataMapping
public abstract class QValueMetadataMapping<OR,M extends MValueMetadata,Q extends QValueMetadata<M,OR>>
extends QContainerMapping<ValueMetadataType,Q,M,OR>
-
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
DEFAULT_ALIAS_NAMEFields inherited from class com.evolveum.midpoint.repo.sqlbase.mapping.QueryModelMapping
logger -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQValueMetadataMapping(String tableName, String aliasName, Class<Q> queryType, @NotNull SqaleRepoContext repositoryContext) -
Method Summary
Modifier and TypeMethodDescriptioninitRowObject(ValueMetadataType schemaObject, OR ownerRow) This creates the right type of object and fills in the baseMContainerattributes.abstract Minsert(ValueMetadataType assignment, OR ownerRow, JdbcSession jdbcSession) protected abstract QnewAliasInstance(String alias) Method returning new instance ofEntityPath- to be implemented by sub-mapping.abstract Mabstract MnewRowObject(OR ownerRow) Returns a row with foreign key fields referencing the provided owner row.Methods inherited from class com.evolveum.midpoint.repo.sqale.qmodel.common.QContainerMapping
attachContainerIdPath, attachOwnerOid, containerDepth, containerIdentityPredicate, containerIdPath, initContainerMapping, selectExpressions, toSchemaObject, toSchemaObject, useDeltaApplyResultsMethods inherited from class com.evolveum.midpoint.repo.sqale.mapping.SqaleTableMapping
addExtensionMapping, binaryMapper, booleanMapper, createFullObject, createRowTransformer, definitionDerivation, definitionDerivationKey, doubleMapper, enumMapper, fullObjectItemsToSkip, 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
-
Constructor Details
-
QValueMetadataMapping
protected QValueMetadataMapping(String tableName, String aliasName, Class<Q> queryType, @NotNull @NotNull SqaleRepoContext repositoryContext)
-
-
Method Details
-
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.- Overrides:
newAliasInstancein classQContainerMapping<ValueMetadataType,Q extends QValueMetadata<M, OR>, M extends MValueMetadata, OR>
-
newRowObject
- Overrides:
newRowObjectin classQueryTableMapping<ValueMetadataType,Q extends QValueMetadata<M, OR>, M extends MValueMetadata>
-
newRowObject
Description copied from interface:QOwnedByMappingReturns a row with foreign key fields referencing the provided owner row.- Specified by:
newRowObjectin interfaceQOwnedByMapping<OR,M extends MValueMetadata, Q extends QValueMetadata<M, OR>> - Overrides:
newRowObjectin classQContainerMapping<ValueMetadataType,Q extends QValueMetadata<M, OR>, M extends MValueMetadata, OR>
-
insert
- Specified by:
insertin interfaceQOwnedByMapping<OR,M extends MValueMetadata, Q extends QValueMetadata<M, OR>> - Overrides:
insertin classQContainerMapping<ValueMetadataType,Q extends QValueMetadata<M, OR>, M extends MValueMetadata, OR>
-
initRowObject
Description copied from class:QContainerMappingThis creates the right type of object and fills in the baseMContainerattributes.- Overrides:
initRowObjectin classQContainerMapping<ValueMetadataType,Q extends QValueMetadata<M, OR>, M extends MValueMetadata, OR>
-