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.XmlElement;
015import javax.xml.bind.annotation.XmlSchemaType;
016import javax.xml.bind.annotation.XmlType;
017
018
019/**
020 * 
021 * 
022 *         @Target({METHOD, FIELD}) @Retention(RUNTIME)
023 *         public @interface Id {}
024 * 
025 *       
026 * 
027 * <p>Java class for id complex type.
028 * 
029 * <p>The following schema fragment specifies the expected content contained within this class.
030 * 
031 * <pre>
032 * &lt;complexType name="id"&gt;
033 *   &lt;complexContent&gt;
034 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
035 *       &lt;sequence&gt;
036 *         &lt;element name="column" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}column" minOccurs="0"/&gt;
037 *         &lt;element name="generated-value" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}generated-value" minOccurs="0"/&gt;
038 *         &lt;element name="temporal" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}temporal" minOccurs="0"/&gt;
039 *         &lt;element name="table-generator" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}table-generator" minOccurs="0"/&gt;
040 *         &lt;element name="sequence-generator" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}sequence-generator" minOccurs="0"/&gt;
041 *       &lt;/sequence&gt;
042 *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
043 *       &lt;attribute name="access" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}access-type" /&gt;
044 *     &lt;/restriction&gt;
045 *   &lt;/complexContent&gt;
046 * &lt;/complexType&gt;
047 * </pre>
048 * 
049 * 
050 */
051@XmlAccessorType(XmlAccessType.FIELD)
052@XmlType(name = "id", propOrder = {
053    "column",
054    "generatedValue",
055    "temporal",
056    "tableGenerator",
057    "sequenceGenerator"
058})
059public class Id {
060
061    protected Column column;
062    @XmlElement(name = "generated-value")
063    protected GeneratedValue generatedValue;
064    @XmlSchemaType(name = "token")
065    protected TemporalType temporal;
066    @XmlElement(name = "table-generator")
067    protected TableGenerator tableGenerator;
068    @XmlElement(name = "sequence-generator")
069    protected SequenceGenerator sequenceGenerator;
070    @XmlAttribute(name = "name", required = true)
071    protected String name;
072    @XmlAttribute(name = "access")
073    protected AccessType access;
074
075    /**
076     * Gets the value of the column property.
077     * 
078     * @return
079     *     possible object is
080     *     {@link Column }
081     *     
082     */
083    public Column getColumn() {
084        return column;
085    }
086
087    /**
088     * Sets the value of the column property.
089     * 
090     * @param value
091     *     allowed object is
092     *     {@link Column }
093     *     
094     */
095    public void setColumn(Column value) {
096        this.column = value;
097    }
098
099    /**
100     * Gets the value of the generatedValue property.
101     * 
102     * @return
103     *     possible object is
104     *     {@link GeneratedValue }
105     *     
106     */
107    public GeneratedValue getGeneratedValue() {
108        return generatedValue;
109    }
110
111    /**
112     * Sets the value of the generatedValue property.
113     * 
114     * @param value
115     *     allowed object is
116     *     {@link GeneratedValue }
117     *     
118     */
119    public void setGeneratedValue(GeneratedValue value) {
120        this.generatedValue = value;
121    }
122
123    /**
124     * Gets the value of the temporal property.
125     * 
126     * @return
127     *     possible object is
128     *     {@link TemporalType }
129     *     
130     */
131    public TemporalType getTemporal() {
132        return temporal;
133    }
134
135    /**
136     * Sets the value of the temporal property.
137     * 
138     * @param value
139     *     allowed object is
140     *     {@link TemporalType }
141     *     
142     */
143    public void setTemporal(TemporalType value) {
144        this.temporal = value;
145    }
146
147    /**
148     * Gets the value of the tableGenerator property.
149     * 
150     * @return
151     *     possible object is
152     *     {@link TableGenerator }
153     *     
154     */
155    public TableGenerator getTableGenerator() {
156        return tableGenerator;
157    }
158
159    /**
160     * Sets the value of the tableGenerator property.
161     * 
162     * @param value
163     *     allowed object is
164     *     {@link TableGenerator }
165     *     
166     */
167    public void setTableGenerator(TableGenerator value) {
168        this.tableGenerator = value;
169    }
170
171    /**
172     * Gets the value of the sequenceGenerator property.
173     * 
174     * @return
175     *     possible object is
176     *     {@link SequenceGenerator }
177     *     
178     */
179    public SequenceGenerator getSequenceGenerator() {
180        return sequenceGenerator;
181    }
182
183    /**
184     * Sets the value of the sequenceGenerator property.
185     * 
186     * @param value
187     *     allowed object is
188     *     {@link SequenceGenerator }
189     *     
190     */
191    public void setSequenceGenerator(SequenceGenerator value) {
192        this.sequenceGenerator = value;
193    }
194
195    /**
196     * Gets the value of the name property.
197     * 
198     * @return
199     *     possible object is
200     *     {@link String }
201     *     
202     */
203    public String getName() {
204        return name;
205    }
206
207    /**
208     * Sets the value of the name property.
209     * 
210     * @param value
211     *     allowed object is
212     *     {@link String }
213     *     
214     */
215    public void setName(String value) {
216        this.name = value;
217    }
218
219    /**
220     * Gets the value of the access property.
221     * 
222     * @return
223     *     possible object is
224     *     {@link AccessType }
225     *     
226     */
227    public AccessType getAccess() {
228        return access;
229    }
230
231    /**
232     * Sets the value of the access property.
233     * 
234     * @param value
235     *     allowed object is
236     *     {@link AccessType }
237     *     
238     */
239    public void setAccess(AccessType value) {
240        this.access = value;
241    }
242
243}