// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.04.12 at 12:22:50 PM GMT // package eu.stork.peps.complex.attributes.crue.academic.xsd.language.diplomasupplement; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** *

* Java class for ModeOfStudyType. * *

* The following schema fragment specifies the expected content contained within this class. *

* *

 * <simpleType name="ModeOfStudyType">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *     <enumeration value="FullTime"/>
 *     <enumeration value="ParTime"/>
 *     <enumeration value="Distance"/>
 *     <enumeration value="eLearning"/>
 *     <enumeration value="Another"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "ModeOfStudyType") @XmlEnum public enum ModeOfStudyType { /** * Full time * */ @XmlEnumValue("FullTime") FULL_TIME("FullTime"), /** * Par time * */ @XmlEnumValue("ParTime") PAR_TIME("ParTime"), /** * Distance * */ @XmlEnumValue("Distance") DISTANCE("Distance"), /** * eLearning * */ @XmlEnumValue("eLearning") E_LEARNING("eLearning"), /** * Another * */ @XmlEnumValue("Another") ANOTHER("Another"); private final String value; ModeOfStudyType(String v) { value = v; } public String value() { return value; } public static ModeOfStudyType fromValue(String v) { for (ModeOfStudyType c : ModeOfStudyType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }