org.eclipse.emf.spi.cdo
Class CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster

java.lang.Object
  extended by 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


Constructor Summary
CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster(CDOIDProvider idProvider, CDOIDMapper idMapper)
           
 
Method Summary
 Object adjustReference(Object id, EStructuralFeature feature, int index)
          Adjusts the internal structure of an object (e.g: CDORevision).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster

public CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster(CDOIDProvider idProvider,
                                                                              CDOIDMapper idMapper)
Method Detail

adjustReference

public Object adjustReference(Object id,
                              EStructuralFeature feature,
                              int index)
Description copied from interface: CDOReferenceAdjuster
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.

Specified by:
adjustReference in interface CDOReferenceAdjuster
Since:
4.0


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.