org.qi4j.api.entity
Interface IdentityGenerator

All Known Subinterfaces:
UuidIdentityGeneratorService
All Known Implementing Classes:
UuidIdentityGeneratorMixin

public interface IdentityGenerator

Generator for identities of EntityComposite's.


Method Summary
 java.lang.String generate(java.lang.Class<?> compositeType)
          Generate a new id for the given Composite type
 

Method Detail

generate

java.lang.String generate(java.lang.Class<?> compositeType)
Generate a new id for the given Composite type

Parameters:
compositeType - the type of composite
Returns:
a new identity