Interface CDOReferenceAdjuster
- All Known Implementing Classes:
CDOIDMapper,CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster
public interface CDOReferenceAdjuster
Policy consulted while a revision rewrites a stored reference. The revision supplies the feature and list position so
the policy can map an ID in the context where it occurs, such as replacing temporary IDs after commit.
- Since:
- 4.0
- Author:
- Simon McDuff
-
Method Summary
Modifier and TypeMethodDescriptionadjustReference(Object id, EStructuralFeature feature, int index) Adjusts the internal structure of an object (e.g:CDORevision).
-
Method Details
-
adjustReference
Adjusts 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.
-