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
9 package jalview.xml.binding.sifts;
11 import javax.xml.bind.annotation.XmlEnum;
12 import javax.xml.bind.annotation.XmlEnumValue;
13 import javax.xml.bind.annotation.XmlType;
17 * <p>Java class for entityType.
19 * <p>The following schema fragment specifies the expected content contained within this class.
22 * <simpleType name="entityType">
23 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
24 * <enumeration value="protein"/>
25 * <enumeration value="RNA"/>
26 * <enumeration value="DNA"/>
27 * <enumeration value="domain"/>
33 @XmlType(name = "entityType", namespace = "http://www.ebi.ac.uk/pdbe/docs/sifts/dataTypes.xsd")
35 public enum EntityType {
37 @XmlEnumValue("protein")
41 @XmlEnumValue("domain")
43 private final String value;
45 EntityType(String v) {
49 public String value() {
53 public static EntityType fromValue(String v) {
54 for (EntityType c: EntityType.values()) {
55 if (c.value.equals(v)) {
59 throw new IllegalArgumentException(v);