Class CDOIDMapper
java.lang.Object
org.eclipse.emf.cdo.spi.common.revision.CDOIDMapper
- All Implemented Interfaces:
CDOReferenceAdjuster
Reference-adjustment policy backed by the ID mapping returned from a commit. It replaces temporary object IDs with
their repository-assigned IDs and can optionally retain temporary IDs that have no mapping.
- Since:
- 2.0
- Author:
- Simon McDuff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadjustReference(Object value, EStructuralFeature feature, int index) Adjusts the internal structure of an object (e.g:CDORevision).booleanvoidsetAllowUnmappedTempIDs(boolean allowUnmappedTempIDs)
-
Constructor Details
-
CDOIDMapper
-
-
Method Details
-
getIDMappings
-
isAllowUnmappedTempIDs
public boolean isAllowUnmappedTempIDs()- Since:
- 3.0
-
setAllowUnmappedTempIDs
public void setAllowUnmappedTempIDs(boolean allowUnmappedTempIDs) - Since:
- 3.0
-
adjustReference
Description copied from interface:CDOReferenceAdjusterAdjusts the internal structure of an object (e.g:CDORevision). This is mainly used after committing a transaction.CDORevisionmust replaceCDOIDTempfor non-temporaryCDOIDwith a mapped ID. Only the internal structure knows how to do these modifications. This is important to consider using different implementation ofCDOList.- Specified by:
adjustReferencein interfaceCDOReferenceAdjuster- Since:
- 4.0
-