2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2015.10.09 at 03:18:33 PM BST
8 package jalview.xml.binding.sifts;
10 import javax.xml.bind.annotation.XmlEnum;
11 import javax.xml.bind.annotation.XmlEnumValue;
12 import javax.xml.bind.annotation.XmlType;
16 * Java class for entityType.
19 * The following schema fragment specifies the expected content contained within
24 * <simpleType name="entityType">
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
26 * <enumeration value="protein"/>
27 * <enumeration value="RNA"/>
28 * <enumeration value="DNA"/>
29 * <enumeration value="domain"/>
37 namespace = "http://www.ebi.ac.uk/pdbe/docs/sifts/dataTypes.xsd")
39 public enum EntityType
42 @XmlEnumValue("protein")
43 PROTEIN("protein"), RNA("RNA"), DNA("DNA"), @XmlEnumValue("domain")
46 private final String value;
58 public static EntityType fromValue(String v)
60 for (EntityType c : EntityType.values())
62 if (c.value.equals(v))
67 throw new IllegalArgumentException(v);