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