X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FOrganismNameType.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FOrganismNameType.java;h=a658e361e1f3ef4428295e180cbbd66d863dd1af;hb=4d64932654de3f6ffe07db11d18f2d21f558c6e6;hp=0000000000000000000000000000000000000000;hpb=382f5ff058a4c2fed1e9874bb712b40f16ec1a4e;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/OrganismNameType.java b/src/jalview/xml/binding/uniprot/OrganismNameType.java new file mode 100644 index 0000000..a658e36 --- /dev/null +++ b/src/jalview/xml/binding/uniprot/OrganismNameType.java @@ -0,0 +1,106 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2018.09.13 at 10:18:53 AM BST +// + + +package jalview.xml.binding.uniprot; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; +import javax.xml.bind.annotation.XmlValue; + + +/** + * Describes different types of source organism names. + * + *
Java class for organismNameType complex type. + * + *
The following schema fragment specifies the expected content contained within this class. + * + *
+ * <complexType name="organismNameType"> + * <simpleContent> + * <extension base="<http://www.w3.org/2001/XMLSchema>string"> + * <attribute name="type" use="required"> + * <simpleType> + * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> + * <enumeration value="common"/> + * <enumeration value="full"/> + * <enumeration value="scientific"/> + * <enumeration value="synonym"/> + * <enumeration value="abbreviation"/> + * </restriction> + * </simpleType> + * </attribute> + * </extension> + * </simpleContent> + * </complexType> + *+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "organismNameType", propOrder = { + "value" +}) +public class OrganismNameType { + + @XmlValue + protected String value; + @XmlAttribute(name = "type", required = true) + protected String type; + + /** + * Gets the value of the value property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getValue() { + return value; + } + + /** + * Sets the value of the value property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setValue(String value) { + this.value = value; + } + + /** + * Gets the value of the type property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getType() { + return type; + } + + /** + * Sets the value of the type property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setType(String value) { + this.type = value; + } + +}