Package org.hibernate.processor.xml.jaxb
Class GeneratedValue
- java.lang.Object
-
- org.hibernate.processor.xml.jaxb.GeneratedValue
-
public class GeneratedValue extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
generator
protected GenerationType
strategy
-
Constructor Summary
Constructors Constructor Description GeneratedValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Field Detail
-
strategy
protected GenerationType strategy
-
generator
protected String generator
-
-
Method Detail
-
getStrategy
public GenerationType getStrategy()
Gets the value of the strategy property.- Returns:
- possible object is
GenerationType
-
setStrategy
public void setStrategy(GenerationType value)
Sets the value of the strategy property.- Parameters:
value
- allowed object isGenerationType
-
getGenerator
public String getGenerator()
Gets the value of the generator property.- Returns:
- possible object is
String
-
-