org.sape.carbon.services.uniqueid
Interface UniqueIDService

All Superinterfaces:
FunctionalInterface
All Known Implementing Classes:
DefaultUniqueIDServiceImpl

public interface UniqueIDService
extends FunctionalInterface

The UniqueIDService service Interface is implemented by all ID Generators.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.4 $($Author: dvoet $ / $Date: 2003/05/05 21:21:38 $)
Author:
Vivekanand Kirubanandan, June 2002

Method Summary
 long getNextID()
          Return the next unique id.
 

Method Detail

getNextID

public long getNextID()
               throws UniqueIDServiceException

Return the next unique id.

Returns:
double the next unique id
Throws:
UniqueIDServiceException - indicates an error processing the next id


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.