public class GeneratedValue extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
generator |
protected GenerationType |
strategy |
| Constructor and Description |
|---|
GeneratedValue() |
| Modifier and Type | Method and Description |
|---|---|
String |
getGenerator()
Gets the value of the generator property.
|
GenerationType |
getStrategy()
Gets the value of the strategy property.
|
void |
setGenerator(String value)
Sets the value of the generator property.
|
void |
setStrategy(GenerationType value)
Sets the value of the strategy property.
|
protected GenerationType strategy
protected String generator
public GenerationType getStrategy()
GenerationTypepublic void setStrategy(GenerationType value)
value - allowed object is
GenerationTypepublic String getGenerator()
StringCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.