Arch4J 1.1

org.arch4j.persistence.domainmapper
Interface IdentifierGenerator

All Known Implementing Classes:
JugRandomBasedUuidGenerator, JugTimeBasedUuidGenerator

public interface IdentifierGenerator

This interface defines the methods that unique identifier generators must implement in order to fit into the SpiderLogic persistence framework.

Version:
$Revision: 1.1 $
Author:
$Author: rgreinke $

Method Summary
 Serializable generate()
          Generate a new unique identifier.
 

Method Detail

generate

public Serializable generate()
Generate a new unique identifier.

Returns:
A Serializable unique identifier.

Arch4J 1.1

Copyright © 2000-2004 SpiderLogic, a service of Wipfli Ullrich Bertelson LLP.