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 MapKeyColumn {
022 *           String name() default "";
023 *           boolean unique() default false;
024 *           boolean nullable() default false;
025 *           boolean insertable() default true;
026 *           boolean updatable() default true;
027 *           String columnDefinition() default "";
028 *           String table() default "";
029 *           int length() default 255;
030 *           int precision() default 0; // decimal precision
031 *           int scale() default 0; // decimal scale
032 *         }
033 * 
034 *       
035 * 
036 * <p>Java class for map-key-column complex type.
037 * 
038 * <p>The following schema fragment specifies the expected content contained within this class.
039 * 
040 * <pre>
041 * &lt;complexType name="map-key-column"&gt;
042 *   &lt;complexContent&gt;
043 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
044 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
045 *       &lt;attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
046 *       &lt;attribute name="nullable" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
047 *       &lt;attribute name="insertable" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
048 *       &lt;attribute name="updatable" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt;
049 *       &lt;attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
050 *       &lt;attribute name="table" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
051 *       &lt;attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
052 *       &lt;attribute name="precision" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
053 *       &lt;attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
054 *     &lt;/restriction&gt;
055 *   &lt;/complexContent&gt;
056 * &lt;/complexType&gt;
057 * </pre>
058 * 
059 * 
060 */
061@XmlAccessorType(XmlAccessType.FIELD)
062@XmlType(name = "map-key-column")
063public class MapKeyColumn {
064
065    @XmlAttribute(name = "name")
066    protected String name;
067    @XmlAttribute(name = "unique")
068    protected Boolean unique;
069    @XmlAttribute(name = "nullable")
070    protected Boolean nullable;
071    @XmlAttribute(name = "insertable")
072    protected Boolean insertable;
073    @XmlAttribute(name = "updatable")
074    protected Boolean updatable;
075    @XmlAttribute(name = "column-definition")
076    protected String columnDefinition;
077    @XmlAttribute(name = "table")
078    protected String table;
079    @XmlAttribute(name = "length")
080    protected Integer length;
081    @XmlAttribute(name = "precision")
082    protected Integer precision;
083    @XmlAttribute(name = "scale")
084    protected Integer scale;
085
086    /**
087     * Gets the value of the name property.
088     * 
089     * @return
090     *     possible object is
091     *     {@link String }
092     *     
093     */
094    public String getName() {
095        return name;
096    }
097
098    /**
099     * Sets the value of the name property.
100     * 
101     * @param value
102     *     allowed object is
103     *     {@link String }
104     *     
105     */
106    public void setName(String value) {
107        this.name = value;
108    }
109
110    /**
111     * Gets the value of the unique property.
112     * 
113     * @return
114     *     possible object is
115     *     {@link Boolean }
116     *     
117     */
118    public Boolean isUnique() {
119        return unique;
120    }
121
122    /**
123     * Sets the value of the unique property.
124     * 
125     * @param value
126     *     allowed object is
127     *     {@link Boolean }
128     *     
129     */
130    public void setUnique(Boolean value) {
131        this.unique = value;
132    }
133
134    /**
135     * Gets the value of the nullable property.
136     * 
137     * @return
138     *     possible object is
139     *     {@link Boolean }
140     *     
141     */
142    public Boolean isNullable() {
143        return nullable;
144    }
145
146    /**
147     * Sets the value of the nullable property.
148     * 
149     * @param value
150     *     allowed object is
151     *     {@link Boolean }
152     *     
153     */
154    public void setNullable(Boolean value) {
155        this.nullable = value;
156    }
157
158    /**
159     * Gets the value of the insertable property.
160     * 
161     * @return
162     *     possible object is
163     *     {@link Boolean }
164     *     
165     */
166    public Boolean isInsertable() {
167        return insertable;
168    }
169
170    /**
171     * Sets the value of the insertable property.
172     * 
173     * @param value
174     *     allowed object is
175     *     {@link Boolean }
176     *     
177     */
178    public void setInsertable(Boolean value) {
179        this.insertable = value;
180    }
181
182    /**
183     * Gets the value of the updatable property.
184     * 
185     * @return
186     *     possible object is
187     *     {@link Boolean }
188     *     
189     */
190    public Boolean isUpdatable() {
191        return updatable;
192    }
193
194    /**
195     * Sets the value of the updatable property.
196     * 
197     * @param value
198     *     allowed object is
199     *     {@link Boolean }
200     *     
201     */
202    public void setUpdatable(Boolean value) {
203        this.updatable = value;
204    }
205
206    /**
207     * Gets the value of the columnDefinition property.
208     * 
209     * @return
210     *     possible object is
211     *     {@link String }
212     *     
213     */
214    public String getColumnDefinition() {
215        return columnDefinition;
216    }
217
218    /**
219     * Sets the value of the columnDefinition property.
220     * 
221     * @param value
222     *     allowed object is
223     *     {@link String }
224     *     
225     */
226    public void setColumnDefinition(String value) {
227        this.columnDefinition = value;
228    }
229
230    /**
231     * Gets the value of the table property.
232     * 
233     * @return
234     *     possible object is
235     *     {@link String }
236     *     
237     */
238    public String getTable() {
239        return table;
240    }
241
242    /**
243     * Sets the value of the table property.
244     * 
245     * @param value
246     *     allowed object is
247     *     {@link String }
248     *     
249     */
250    public void setTable(String value) {
251        this.table = value;
252    }
253
254    /**
255     * Gets the value of the length property.
256     * 
257     * @return
258     *     possible object is
259     *     {@link Integer }
260     *     
261     */
262    public Integer getLength() {
263        return length;
264    }
265
266    /**
267     * Sets the value of the length property.
268     * 
269     * @param value
270     *     allowed object is
271     *     {@link Integer }
272     *     
273     */
274    public void setLength(Integer value) {
275        this.length = value;
276    }
277
278    /**
279     * Gets the value of the precision property.
280     * 
281     * @return
282     *     possible object is
283     *     {@link Integer }
284     *     
285     */
286    public Integer getPrecision() {
287        return precision;
288    }
289
290    /**
291     * Sets the value of the precision property.
292     * 
293     * @param value
294     *     allowed object is
295     *     {@link Integer }
296     *     
297     */
298    public void setPrecision(Integer value) {
299        this.precision = value;
300    }
301
302    /**
303     * Gets the value of the scale property.
304     * 
305     * @return
306     *     possible object is
307     *     {@link Integer }
308     *     
309     */
310    public Integer getScale() {
311        return scale;
312    }
313
314    /**
315     * Sets the value of the scale property.
316     * 
317     * @param value
318     *     allowed object is
319     *     {@link Integer }
320     *     
321     */
322    public void setScale(Integer value) {
323        this.scale = value;
324    }
325
326}