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 fetch-type.
018 *
019 * <p>The following schema fragment specifies the expected content contained within this class.
020 * <p>
021 * <pre>
022 * <simpleType name="fetch-type">
023 * <restriction base="{http://www.w3.org/2001/XMLSchema}token">
024 * <enumeration value="LAZY"/>
025 * <enumeration value="EAGER"/>
026 * </restriction>
027 * </simpleType>
028 * </pre>
029 *
030 */
031 @XmlType(name = "fetch-type")
032 @XmlEnum
033 @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-08-18T10:46:56+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
034 public enum FetchType {
035
036 LAZY,
037 EAGER;
038
039 public String value() {
040 return name();
041 }
042
043 public static FetchType fromValue(String v) {
044 return valueOf(v);
045 }
046
047 }