//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.12-1.0.0.0_2-1-12-ea 
// 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: 2017.01.27 at 12:21:52 PM CET 
//

package com.ejie.mbt.xml;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for type_object.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * <p>
 * 
 * <pre>
 * &lt;simpleType name="type_object">
 *   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
 *     &lt;enumeration value="taskDataInfo"/>
 *     &lt;enumeration value="taskTypeDataInfo"/>
 *     &lt;enumeration value="taskBusinessDataInfo"/>
 *   &lt;/restriction>
 * &lt;/simpleType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlType(name = "type_object")
@XmlEnum()
public enum TypeObject {

	@XmlEnumValue(value = "taskDataInfo") TASK_DATA_INFO(
			"taskDataInfo"), @XmlEnumValue(value = "taskTypeDataInfo") TASK_TYPE_DATA_INFO(
					"taskTypeDataInfo"), @XmlEnumValue(value = "taskBusinessDataInfo") TASK_BUSINESS_DATA_INFO(
							"taskBusinessDataInfo");
	private final String value;

	/**
	 * Instantiates a new type object.
	 *
	 * @param v            String
	 */
	TypeObject(String v) {
		value = v;
	}

	/**
	 * Value.
	 *
	 * @return String
	 */
	public String value() {
		return this.value;
	}

	/**
	 * From value.
	 *
	 * @param v            String
	 * @return TypeObject
	 */
	public static TypeObject fromValue(String v) {
		for (TypeObject c : TypeObject.values()) {
			if (c.value.equals(v)) {
				return c;
			}
		}
		throw new IllegalArgumentException(v);
	}

}
