org.hibernate.metamodel.binding
Class IdGenerator
java.lang.Object
org.hibernate.metamodel.binding.IdGenerator
- All Implemented Interfaces:
- Serializable
public class IdGenerator
- extends Object
- implements Serializable
Identifier generator container, Useful to keep named generator in annotations
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdGenerator
public IdGenerator(String name,
String strategy,
Map<String,String> parameters)
getStrategy
public String getStrategy()
- Returns:
- identifier generator strategy
getName
public String getName()
- Returns:
- generator name
getParameters
public Map<String,String> getParameters()
- Returns:
- generator configuration parameters
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.