001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2010.08.18 at 10:46:56 PM CEST 
006    //
007    
008    
009    package net.sourceforge.jpaxjc.ns.persistence.orm;
010    
011    import javax.annotation.Generated;
012    import javax.xml.bind.annotation.XmlEnum;
013    import javax.xml.bind.annotation.XmlType;
014    
015    
016    /**
017     * <p>Java class for generation-type.
018     * 
019     * <p>The following schema fragment specifies the expected content contained within this class.
020     * <p>
021     * <pre>
022     * &lt;simpleType name="generation-type">
023     *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
024     *     &lt;enumeration value="TABLE"/>
025     *     &lt;enumeration value="SEQUENCE"/>
026     *     &lt;enumeration value="IDENTITY"/>
027     *     &lt;enumeration value="AUTO"/>
028     *   &lt;/restriction>
029     * &lt;/simpleType>
030     * </pre>
031     * 
032     */
033    @XmlType(name = "generation-type")
034    @XmlEnum
035    @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
036    public enum GenerationType {
037    
038        TABLE,
039        SEQUENCE,
040        IDENTITY,
041        AUTO;
042    
043        public String value() {
044            return name();
045        }
046    
047        public static GenerationType fromValue(String v) {
048            return valueOf(v);
049        }
050    
051    }