protected static class CDOSessionProtocol.CommitTransactionResult.PostCommitReferenceAdjuster extends Object implements CDOReferenceAdjuster
Constructor and Description |
---|
PostCommitReferenceAdjuster(CDOIDProvider idProvider,
CDOIDMapper idMapper) |
Modifier and Type | Method and Description |
---|---|
Object |
adjustReference(Object id,
EStructuralFeature feature,
int index)
Adjusts the internal structure of an object (e.g:
CDORevision ). |
public PostCommitReferenceAdjuster(CDOIDProvider idProvider, CDOIDMapper idMapper)
public Object adjustReference(Object id, EStructuralFeature feature, int index)
CDOReferenceAdjuster
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
.adjustReference
in interface CDOReferenceAdjuster
Copyright (c) 2011-2015 Eike Stepper (Berlin, Germany) and others.