blob: 80a812f4fff220088850fccc6170a4c0bc2b5278 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/***************************************************************************
* Copyright (c) 2004 - 2008 Eike Stepper, Germany.
* 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
*
* Contributors:
* Simon McDuff - initial API and implementation
**************************************************************************/
package org.eclipse.emf.cdo.common.revision;
import org.eclipse.emf.cdo.common.id.CDOID;
import org.eclipse.emf.cdo.common.id.CDOIDTemp;
/**
* @author Simon McDuff
* @since 2.0
*/
public interface CDOReferenceAdjuster
{
/**
* Adjusts the internal structure of an object (e.g: {@link CDORevision}). This is mainly used after committing a
* transaction. {@link CDORevision} must replace {@link CDOIDTemp} for non-temporary {@link CDOID} with a mapped ID.
* Only the internal structure knows how to do these modifications. This is important to consider using different
* implementation of {@link CDOList}.
*/
public Object adjustReference(Object id);
}
|