@Named(value="simple-UUID") public class SimpleUUIDHandler extends Object implements UUIDHandler<BaseEntity<UUID>,UUID>
| Constructor and Description |
|---|
SimpleUUIDHandler() |
| Modifier and Type | Method and Description |
|---|---|
UUID |
handle(Entity entity,
org.apache.commons.configuration.Configuration entityConfiguration)
Generate new id for entity.
|
public UUID handle(Entity entity, org.apache.commons.configuration.Configuration entityConfiguration)
IdentityHandlerhandle in interface IdentityHandler<BaseEntity<UUID>,UUID>entity - Generate by the factoryentityConfiguration - property coming from props configuration for entityCopyright © 2013-2015–2015. All rights reserved.