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) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html