public class GeneratedValue extends Object
Constructor and Description |
---|
GeneratedValue() |
Modifier and Type | Method and Description |
---|---|
String |
getGenerator()
The name of the primary key generator to use
|
GenerationType |
getStrategy()
The primary key generation strategy that the persistence provider must use to generate the annotated entity primary key.
|
boolean |
hasGenerator() |
boolean |
hasStrategy() |
void |
setGenerator(String generator) |
void |
setStrategy(GenerationType strategy) |
public String getGenerator()
public boolean hasGenerator()
public GenerationType getStrategy()
public boolean hasStrategy()
public void setGenerator(String generator)
public void setStrategy(GenerationType strategy)
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.