public class UUIDHexGenerator extends AbstractUUIDGenerator implements Configurable
ENTITY_NAME, JPA_ENTITY_NAME| Constructor and Description | 
|---|
UUIDHexGenerator()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
configure(Type type,
         Properties params,
         Dialect d)
Configure this instance, given the value of parameters
 specified by the user as <param> elements. 
 | 
protected String | 
format(int intValue)  | 
protected String | 
format(short shortValue)  | 
Serializable | 
generate(SessionImplementor session,
        Object obj)
Generate a new identifier. 
 | 
public void configure(Type type, Properties params, Dialect d)
Configurableconfigure in interface Configurableparams - param values, keyed by parameter namepublic Serializable generate(SessionImplementor session, Object obj)
IdentifierGeneratorgenerate in interface IdentifierGeneratorsession - The session from which the request originatesobj - the entity or collection (idbag) for which the id is being generatedprotected String format(int intValue)
protected String format(short shortValue)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.