Class EmbeddedContainerDeltaProcessor<T extends Containerable>
java.lang.Object
com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessor<T>
com.evolveum.midpoint.repo.sqale.delta.item.EmbeddedContainerDeltaProcessor<T>
- Type Parameters:
- T- type of the processed container (target)
- All Implemented Interfaces:
- ItemDeltaProcessor
public class EmbeddedContainerDeltaProcessor<T extends Containerable>
extends ItemDeltaSingleValueProcessor<T>
Delta processor for whole embedded single-value containers.
 While the single value is PCV and is complex, the 
ItemDeltaSingleValueProcessor.process(com.evolveum.midpoint.prism.delta.ItemDelta<?, ?>)
 high-level implementation still works, but the details are more complex and implemented here.- 
Field SummaryFields inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessorcontext
- 
Constructor SummaryConstructorsConstructorDescriptionEmbeddedContainerDeltaProcessor(SqaleUpdateContext<OS, OQ, OR> context, SqaleNestedMapping<T, OQ, OR> nestedMapping) Constructs the delta processor, here we care about type match for parameters, later we don't.
- 
Method SummaryMethods inherited from class com.evolveum.midpoint.repo.sqale.delta.item.ItemDeltaSingleValueProcessorgetAnyValue, process, setRealValuesMethods inherited from class com.evolveum.midpoint.repo.sqale.delta.ItemDeltaValueProcessoraddRealValues, addValues, convertRealValue, deleteRealValues, deleteValues
- 
Constructor Details- 
EmbeddedContainerDeltaProcessorpublic EmbeddedContainerDeltaProcessor(SqaleUpdateContext<OS, OQ, OR> context, SqaleNestedMapping<T, OQ, OR> nestedMapping) Constructs the delta processor, here we care about type match for parameters, later we don't.- Type Parameters:
- OS- schema type of the owner of the embedded container
- OQ- query type of the owner entity
- OR- type of the owner row
 
 
- 
- 
Method Details- 
setValueSets the values for items in the PCV that are mapped to database columns and nulls the rest.- Specified by:
- setValuein class- ItemDeltaSingleValueProcessor<T extends Containerable>
- Throws:
- SchemaException
 
- 
deletepublic void delete()Sets all columns for the embedded container to `null` using all the known mappers.- Specified by:
- deletein class- ItemDeltaValueProcessor<T extends Containerable>
 
 
-