org.hibernate.internal.jaxb.mapping.orm.JaxbEnumType Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.04.25 at 10:42:10 AM EDT
//
package org.hibernate.internal.jaxb.mapping.orm;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for enum-type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="enum-type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="ORDINAL"/>
* <enumeration value="STRING"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "enum-type")
@XmlEnum
public enum JaxbEnumType {
ORDINAL,
STRING;
public String value() {
return name();
}
public static JaxbEnumType fromValue(String v) {
return valueOf(v);
}
}