Package org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster
java.lang.Object
org.eclipse.emf.spi.cdo.CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster
- All Implemented Interfaces:
CDOReferenceAdjuster
- Enclosing class:
CDOSessionProtocol.CommitTransactionResult
protected static class CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster
extends Object
implements CDOReferenceAdjuster
Adjusts references in post-commit notifications when the repository assigns or remaps object IDs during commit.
It applies the ID provider and mapper supplied by the commit response so adapters see references consistent with
the committed objects.
- Author:
- Simon McDuff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustReference(Object id, EStructuralFeature feature, int index) Adjusts the internal structure of an object (e.g:CDORevision).
-
Constructor Details
-
PostCommitReferenceAdjuster
-
-
Method Details
-
adjustReference
Description copied from interface:CDOReferenceAdjusterAdjusts the internal structure of an object (e.g:CDORevision). This is mainly used after committing a transaction.CDORevisionmust replaceCDOIDTempfor non-temporaryCDOIDwith a mapped ID. Only the internal structure knows how to do these modifications. This is important to consider using different implementation ofCDOList.- Specified by:
adjustReferencein interfaceCDOReferenceAdjuster- Since:
- 4.0
-