//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.11.23 at 04:04:36 PM EST
//
package com.tesora.dve.sql.template.jaxb;
/*
* #%L
* Tesora Inc.
* Database Virtualization Engine
* %%
* Copyright (C) 2011 - 2014 Tesora Inc.
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* #L%
*/
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for ModelType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType name="ModelType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="Broadcast"/>
* <enumeration value="Random"/>
* <enumeration value="Static"/>
* <enumeration value="Range"/>
* <enumeration value="Container"/>
* </restriction>
* </simpleType>
* </pre>
*
*/
@XmlType(name = "ModelType")
@XmlEnum
public enum ModelType {
@XmlEnumValue("Broadcast")
BROADCAST("Broadcast"),
@XmlEnumValue("Random")
RANDOM("Random"),
@XmlEnumValue("Static")
STATIC("Static"),
@XmlEnumValue("Range")
RANGE("Range"),
@XmlEnumValue("Container")
CONTAINER("Container");
private final String value;
ModelType(String v) {
value = v;
}
public String value() {
return value;
}
public static ModelType fromValue(String v) {
for (ModelType c: ModelType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}