Package org.eclipse.emf.cdo.common.id
Interface CDOIDGenerator
-
public interface CDOIDGenerator
GeneratesIDs
.- Since:
- 4.1
- Author:
- Eike Stepper
-
-
Field Summary
Fields Modifier and Type Field Description static CDOIDGenerator
NULL
GeneratesNULL
values.static CDOIDGenerator
UUID
GeneratesUUID
values.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CDOID
generateCDOID(org.eclipse.emf.ecore.EObject object)
Generates aCDOID
.void
reset()
Called at the end of a commit operation to give this ID generator a chance to reset its sequence of IDs.
-
-
-
Field Detail
-
NULL
static final CDOIDGenerator NULL
GeneratesNULL
values.
-
UUID
static final CDOIDGenerator UUID
GeneratesUUID
values.
-
-
Method Detail
-
generateCDOID
CDOID generateCDOID(org.eclipse.emf.ecore.EObject object)
Generates aCDOID
.- Parameters:
object
- the object to generate a new CDOID for if available,null
otherwise.
-
reset
void reset()
Called at the end of a commit operation to give this ID generator a chance to reset its sequence of IDs.
-
-