001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
003// See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2018.12.10 at 03:02:30 PM PST 
006//
007
008
009package org.microbean.jpa.jaxb;
010
011import javax.xml.bind.annotation.XmlAccessType;
012import javax.xml.bind.annotation.XmlAccessorType;
013import javax.xml.bind.annotation.XmlAttribute;
014import javax.xml.bind.annotation.XmlType;
015
016
017/**
018 * 
019 * 
020 *         @Target({METHOD, FIELD}) @Retention(RUNTIME)
021 *         public @interface GeneratedValue {
022 *           GenerationType strategy() default AUTO;
023 *           String generator() default "";
024 *         }
025 * 
026 *       
027 * 
028 * <p>Java class for generated-value complex type.
029 * 
030 * <p>The following schema fragment specifies the expected content contained within this class.
031 * 
032 * <pre>
033 * &lt;complexType name="generated-value"&gt;
034 *   &lt;complexContent&gt;
035 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
036 *       &lt;attribute name="strategy" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}generation-type" /&gt;
037 *       &lt;attribute name="generator" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
038 *     &lt;/restriction&gt;
039 *   &lt;/complexContent&gt;
040 * &lt;/complexType&gt;
041 * </pre>
042 * 
043 * 
044 */
045@XmlAccessorType(XmlAccessType.FIELD)
046@XmlType(name = "generated-value")
047public class GeneratedValue {
048
049    @XmlAttribute(name = "strategy")
050    protected GenerationType strategy;
051    @XmlAttribute(name = "generator")
052    protected String generator;
053
054    /**
055     * Gets the value of the strategy property.
056     * 
057     * @return
058     *     possible object is
059     *     {@link GenerationType }
060     *     
061     */
062    public GenerationType getStrategy() {
063        return strategy;
064    }
065
066    /**
067     * Sets the value of the strategy property.
068     * 
069     * @param value
070     *     allowed object is
071     *     {@link GenerationType }
072     *     
073     */
074    public void setStrategy(GenerationType value) {
075        this.strategy = value;
076    }
077
078    /**
079     * Gets the value of the generator property.
080     * 
081     * @return
082     *     possible object is
083     *     {@link String }
084     *     
085     */
086    public String getGenerator() {
087        return generator;
088    }
089
090    /**
091     * Sets the value of the generator property.
092     * 
093     * @param value
094     *     allowed object is
095     *     {@link String }
096     *     
097     */
098    public void setGenerator(String value) {
099        this.generator = value;
100    }
101
102}