Package org.eclipse.emf.cdo.common.id
Interface CDOIDGenerator
public interface CDOIDGenerator
Generates
IDs.- Since:
- 4.1
- Author:
- Eike Stepper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CDOIDGeneratorGeneratesNULLvalues.static final CDOIDGeneratorGeneratesUUIDvalues. -
Method Summary
Modifier and TypeMethodDescriptiongenerateCDOID(EObject object) Generates aCDOID.voidreset()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,nullotherwise.
-
reset
void reset()Called at the end of a commit operation to give this ID generator a chance to reset its sequence of IDs.
-