All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.jpamodelgen.xml.jaxb.GeneratedValue Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta2
Show newest version

package org.hibernate.jpamodelgen.xml.jaxb;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlType;


/**
 * 
 * 
 *         @Target({METHOD, FIELD}) @Retention(RUNTIME)
 *         public @interface GeneratedValue {
 *           GenerationType strategy() default AUTO;
 *           String generator() default "";
 *         }
 * 
 *       
 * 
 * 

Java class for generated-value complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

{@code
 * 
 *   
 *     
 *       
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "generated-value", namespace = "https://jakarta.ee/xml/ns/persistence/orm") public class GeneratedValue { @XmlAttribute(name = "strategy") protected GenerationType strategy; @XmlAttribute(name = "generator") protected String generator; /** * Gets the value of the strategy property. * * @return * possible object is * {@link GenerationType } * */ public GenerationType getStrategy() { return strategy; } /** * Sets the value of the strategy property. * * @param value * allowed object is * {@link GenerationType } * */ public void setStrategy(GenerationType value) { this.strategy = value; } /** * Gets the value of the generator property. * * @return * possible object is * {@link String } * */ public String getGenerator() { return generator; } /** * Sets the value of the generator property. * * @param value * allowed object is * {@link String } * */ public void setGenerator(String value) { this.generator = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy