org.hibernate.internal.jaxb.mapping.orm.JaxbTemporalType 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: 2014.07.16 at 04:28:05 PM PDT
//
package org.hibernate.internal.jaxb.mapping.orm;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for temporal-type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="temporal-type">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="DATE"/>
* <enumeration value="TIME"/>
* <enumeration value="TIMESTAMP"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "temporal-type")
@XmlEnum
public enum JaxbTemporalType {
DATE,
TIME,
TIMESTAMP;
public String value() {
return name();
}
public static JaxbTemporalType fromValue(String v) {
return valueOf(v);
}
}