public class CDOIDMapper extends java.lang.Object implements CDOReferenceAdjuster
| Constructor and Description |
|---|
CDOIDMapper(java.util.Map<CDOID,CDOID> idMappings) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
adjustReference(java.lang.Object value,
EStructuralFeature feature,
int index)
Adjusts the internal structure of an object (e.g:
CDORevision). |
java.util.Map<CDOID,CDOID> |
getIDMappings() |
boolean |
isAllowUnmappedTempIDs() |
void |
setAllowUnmappedTempIDs(boolean allowUnmappedTempIDs) |
public boolean isAllowUnmappedTempIDs()
public void setAllowUnmappedTempIDs(boolean allowUnmappedTempIDs)
public java.lang.Object adjustReference(java.lang.Object value,
EStructuralFeature feature,
int index)
CDOReferenceAdjusterCDORevision). 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 CDOReferenceAdjusterCopyright (c) 2004-2019 Eike Stepper (Loehne, 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