Class JaxbGeneratedValueImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbGeneratedValueImpl
- All Implemented Interfaces:
Serializable
@Target({METHOD, FIELD}) @Retention(RUNTIME)
public @interface GeneratedValue {
GenerationType strategy() default AUTO;
String generator() default "";
}
<p>Java class for generated-value complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<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>
}</pre>
- 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
-
JaxbGeneratedValueImpl
public JaxbGeneratedValueImpl()
-
-
Method Details