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 Details

    • adjustReference

      Object adjustReference(Object id, EStructuralFeature feature, int index)
      Adjusts the internal structure of an object (e.g: CDORevision). This is mainly used after committing a transaction. CDORevision must replace CDOIDTemp for non-temporary CDOID with a mapped ID. Only the internal structure knows how to do these modifications. This is important to consider using different implementation of CDOList.