Package org.eclipse.emf.cdo.common.id
Interface CDOIDGenerator
public interface CDOIDGenerator
Generates
IDs
.- Since:
- 4.1
- Author:
- Eike Stepper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CDOIDGenerator
GeneratesNULL
values.static final CDOIDGenerator
GeneratesUUID
values. -
Method Summary
Modifier and TypeMethodDescriptiongenerateCDOID
(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 Details
-
Method Details
-
generateCDOID
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.
-