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.XmlEnum; 012import javax.xml.bind.annotation.XmlType; 013 014 015/** 016 * <p>Java class for constraint-mode. 017 * 018 * <p>The following schema fragment specifies the expected content contained within this class. 019 * <p> 020 * <pre> 021 * <simpleType name="constraint-mode"> 022 * <restriction base="{http://www.w3.org/2001/XMLSchema}token"> 023 * <enumeration value="CONSTRAINT"/> 024 * <enumeration value="NO_CONSTRAINT"/> 025 * <enumeration value="PROVIDER_DEFAULT"/> 026 * </restriction> 027 * </simpleType> 028 * </pre> 029 * 030 */ 031@XmlType(name = "constraint-mode") 032@XmlEnum 033public enum ConstraintMode { 034 035 CONSTRAINT, 036 NO_CONSTRAINT, 037 PROVIDER_DEFAULT; 038 039 public String value() { 040 return name(); 041 } 042 043 public static ConstraintMode fromValue(String v) { 044 return valueOf(v); 045 } 046 047}