public class JPAKeyGeneratorManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
AUTO_GENERATOR_NAME |
Constructor and Description |
---|
JPAKeyGeneratorManager() |
Modifier and Type | Method and Description |
---|---|
void |
add(String name,
JPAKeyGeneratorDescriptor descriptor) |
boolean |
contains(String name) |
JPAKeyGeneratorDescriptor |
get(String name) |
JPAKeyGeneratorDescriptor |
getAuto() |
static JPAKeyGeneratorManager |
getInstance() |
boolean |
isEmpty() |
void |
reset() |
public static final String AUTO_GENERATOR_NAME
public static JPAKeyGeneratorManager getInstance()
public void add(String name, JPAKeyGeneratorDescriptor descriptor) throws GeneratorNameAlreadyUsedException
public boolean contains(String name)
public JPAKeyGeneratorDescriptor get(String name)
public void reset()
public boolean isEmpty()
public JPAKeyGeneratorDescriptor getAuto()
Copyright © 2013. All rights reserved.