org.hibernate.mapping
Class IdGenerator
java.lang.Object
org.hibernate.mapping.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()
getIdentifierGeneratorStrategy
public String getIdentifierGeneratorStrategy()
- Returns:
- identifier generator strategy
getName
public String getName()
- Returns:
- generator name
getParams
public Properties getParams()
- Returns:
- generator configuration parameters
setIdentifierGeneratorStrategy
public void setIdentifierGeneratorStrategy(String string)
setName
public void setName(String string)
addParam
public void addParam(String key,
String value)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.