Package org.hibernate.boot.jaxb.mapping
Class JaxbGeneratedValue
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbGeneratedValue
-
- All Implemented Interfaces:
Serializable
public class JaxbGeneratedValue extends Object implements Serializable
See `@jakarta.persistence.GeneratedValue`Java class for generated-value complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="generated-value"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="strategy" type="{http://www.hibernate.org/xsd/orm/mapping}generation-type" /> <attribute name="generator" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
generator
protected GenerationType
strategy
-
Constructor Summary
Constructors Constructor Description JaxbGeneratedValue()
-
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
String
-
setStrategy
public void setStrategy(GenerationType value)
Sets the value of the strategy property.- Parameters:
value
- allowed object isString
-
getGenerator
public String getGenerator()
Gets the value of the generator property.- Returns:
- possible object is
String
-
-