Package org.hibernate.boot.jaxb.mapping
Class JaxbGeneratedValue
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbGeneratedValue
- All Implemented Interfaces:
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the generator property.Gets the value of the strategy property.voidsetGenerator(String value) Sets the value of the generator property.voidsetStrategy(GenerationType value) Sets the value of the strategy property.
-
Field Details
-
strategy
-
generator
-
-
Constructor Details
-
JaxbGeneratedValue
public JaxbGeneratedValue()
-
-
Method Details
-
getStrategy
Gets the value of the strategy property.- Returns:
- possible object is
String
-
setStrategy
Sets the value of the strategy property.- Parameters:
value- allowed object isString
-
getGenerator
Gets the value of the generator property.- Returns:
- possible object is
String
-
setGenerator
Sets the value of the generator property.- Parameters:
value- allowed object isString
-