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({TYPE}) @Retention(RUNTIME)
021 *         public @interface DiscriminatorColumn {
022 *           String name() default "DTYPE";
023 *           DiscriminatorType discriminatorType() default STRING;
024 *           String columnDefinition() default "";
025 *           int length() default 31;
026 *         }
027 * 
028 *       
029 * 
030 * <p>Java class for discriminator-column complex type.
031 * 
032 * <p>The following schema fragment specifies the expected content contained within this class.
033 * 
034 * <pre>
035 * &lt;complexType name="discriminator-column"&gt;
036 *   &lt;complexContent&gt;
037 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
038 *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
039 *       &lt;attribute name="discriminator-type" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}discriminator-type" /&gt;
040 *       &lt;attribute name="column-definition" type="{http://www.w3.org/2001/XMLSchema}string" /&gt;
041 *       &lt;attribute name="length" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
042 *     &lt;/restriction&gt;
043 *   &lt;/complexContent&gt;
044 * &lt;/complexType&gt;
045 * </pre>
046 * 
047 * 
048 */
049@XmlAccessorType(XmlAccessType.FIELD)
050@XmlType(name = "discriminator-column")
051public class DiscriminatorColumn {
052
053    @XmlAttribute(name = "name")
054    protected String name;
055    @XmlAttribute(name = "discriminator-type")
056    protected DiscriminatorType discriminatorType;
057    @XmlAttribute(name = "column-definition")
058    protected String columnDefinition;
059    @XmlAttribute(name = "length")
060    protected Integer length;
061
062    /**
063     * Gets the value of the name property.
064     * 
065     * @return
066     *     possible object is
067     *     {@link String }
068     *     
069     */
070    public String getName() {
071        return name;
072    }
073
074    /**
075     * Sets the value of the name property.
076     * 
077     * @param value
078     *     allowed object is
079     *     {@link String }
080     *     
081     */
082    public void setName(String value) {
083        this.name = value;
084    }
085
086    /**
087     * Gets the value of the discriminatorType property.
088     * 
089     * @return
090     *     possible object is
091     *     {@link DiscriminatorType }
092     *     
093     */
094    public DiscriminatorType getDiscriminatorType() {
095        return discriminatorType;
096    }
097
098    /**
099     * Sets the value of the discriminatorType property.
100     * 
101     * @param value
102     *     allowed object is
103     *     {@link DiscriminatorType }
104     *     
105     */
106    public void setDiscriminatorType(DiscriminatorType value) {
107        this.discriminatorType = value;
108    }
109
110    /**
111     * Gets the value of the columnDefinition property.
112     * 
113     * @return
114     *     possible object is
115     *     {@link String }
116     *     
117     */
118    public String getColumnDefinition() {
119        return columnDefinition;
120    }
121
122    /**
123     * Sets the value of the columnDefinition property.
124     * 
125     * @param value
126     *     allowed object is
127     *     {@link String }
128     *     
129     */
130    public void setColumnDefinition(String value) {
131        this.columnDefinition = value;
132    }
133
134    /**
135     * Gets the value of the length property.
136     * 
137     * @return
138     *     possible object is
139     *     {@link Integer }
140     *     
141     */
142    public Integer getLength() {
143        return length;
144    }
145
146    /**
147     * Sets the value of the length property.
148     * 
149     * @param value
150     *     allowed object is
151     *     {@link Integer }
152     *     
153     */
154    public void setLength(Integer value) {
155        this.length = value;
156    }
157
158}