X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FCitationType.java;fp=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FCitationType.java;h=cc5f14e16b7588cb8007aa9e3b97640f23e40000;hb=4d64932654de3f6ffe07db11d18f2d21f558c6e6;hp=0000000000000000000000000000000000000000;hpb=382f5ff058a4c2fed1e9874bb712b40f16ec1a4e;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/CitationType.java b/src/jalview/xml/binding/uniprot/CitationType.java new file mode 100644 index 0000000..cc5f14e --- /dev/null +++ b/src/jalview/xml/binding/uniprot/CitationType.java @@ -0,0 +1,527 @@ +// +// 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 java.util.ArrayList; +import java.util.List; +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + * Describes different types of citations. + * Equivalent to the flat file RX-, RG-, RA-, RT- and RL-lines. + * + *

Java class for citationType complex type. + * + *

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

+ * <complexType name="citationType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="editorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/>
+ *         <element name="authorList" type="{http://uniprot.org/uniprot}nameListType" minOccurs="0"/>
+ *         <element name="locator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         <element name="dbReference" type="{http://uniprot.org/uniprot}dbReferenceType" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="type" use="required">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             <enumeration value="book"/>
+ *             <enumeration value="journal article"/>
+ *             <enumeration value="online journal article"/>
+ *             <enumeration value="patent"/>
+ *             <enumeration value="submission"/>
+ *             <enumeration value="thesis"/>
+ *             <enumeration value="unpublished observations"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="date">
+ *         <simpleType>
+ *           <union memberTypes=" {http://www.w3.org/2001/XMLSchema}date {http://www.w3.org/2001/XMLSchema}gYearMonth {http://www.w3.org/2001/XMLSchema}gYear">
+ *           </union>
+ *         </simpleType>
+ *       </attribute>
+ *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="volume" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="first" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="last" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="publisher" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="city" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="db" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="institute" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "citationType", propOrder = { + "title", + "editorList", + "authorList", + "locator", + "dbReference" +}) +public class CitationType { + + protected String title; + protected NameListType editorList; + protected NameListType authorList; + protected String locator; + protected List dbReference; + @XmlAttribute(name = "type", required = true) + protected String type; + @XmlAttribute(name = "date") + protected String date; + @XmlAttribute(name = "name") + protected String name; + @XmlAttribute(name = "volume") + protected String volume; + @XmlAttribute(name = "first") + protected String first; + @XmlAttribute(name = "last") + protected String last; + @XmlAttribute(name = "publisher") + protected String publisher; + @XmlAttribute(name = "city") + protected String city; + @XmlAttribute(name = "db") + protected String db; + @XmlAttribute(name = "number") + protected String number; + @XmlAttribute(name = "institute") + protected String institute; + @XmlAttribute(name = "country") + protected String country; + + /** + * Gets the value of the title property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getTitle() { + return title; + } + + /** + * Sets the value of the title property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setTitle(String value) { + this.title = value; + } + + /** + * Gets the value of the editorList property. + * + * @return + * possible object is + * {@link NameListType } + * + */ + public NameListType getEditorList() { + return editorList; + } + + /** + * Sets the value of the editorList property. + * + * @param value + * allowed object is + * {@link NameListType } + * + */ + public void setEditorList(NameListType value) { + this.editorList = value; + } + + /** + * Gets the value of the authorList property. + * + * @return + * possible object is + * {@link NameListType } + * + */ + public NameListType getAuthorList() { + return authorList; + } + + /** + * Sets the value of the authorList property. + * + * @param value + * allowed object is + * {@link NameListType } + * + */ + public void setAuthorList(NameListType value) { + this.authorList = value; + } + + /** + * Gets the value of the locator property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLocator() { + return locator; + } + + /** + * Sets the value of the locator property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLocator(String value) { + this.locator = value; + } + + /** + * Gets the value of the dbReference property. + * + *

+ * This accessor method returns a reference to the live list, + * not a snapshot. Therefore any modification you make to the + * returned list will be present inside the JAXB object. + * This is why there is not a set method for the dbReference property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getDbReference().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link DbReferenceType } + * + * + */ + public List getDbReference() { + if (dbReference == null) { + dbReference = new ArrayList(); + } + return this.dbReference; + } + + /** + * 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; + } + + /** + * Gets the value of the date property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDate() { + return date; + } + + /** + * Sets the value of the date property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDate(String value) { + this.date = value; + } + + /** + * Gets the value of the name property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getName() { + return name; + } + + /** + * Sets the value of the name property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setName(String value) { + this.name = value; + } + + /** + * Gets the value of the volume property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getVolume() { + return volume; + } + + /** + * Sets the value of the volume property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setVolume(String value) { + this.volume = value; + } + + /** + * Gets the value of the first property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFirst() { + return first; + } + + /** + * Sets the value of the first property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFirst(String value) { + this.first = value; + } + + /** + * Gets the value of the last property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLast() { + return last; + } + + /** + * Sets the value of the last property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLast(String value) { + this.last = value; + } + + /** + * Gets the value of the publisher property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPublisher() { + return publisher; + } + + /** + * Sets the value of the publisher property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPublisher(String value) { + this.publisher = value; + } + + /** + * Gets the value of the city property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCity() { + return city; + } + + /** + * Sets the value of the city property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCity(String value) { + this.city = value; + } + + /** + * Gets the value of the db property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDb() { + return db; + } + + /** + * Sets the value of the db property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDb(String value) { + this.db = value; + } + + /** + * Gets the value of the number property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getNumber() { + return number; + } + + /** + * Sets the value of the number property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setNumber(String value) { + this.number = value; + } + + /** + * Gets the value of the institute property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getInstitute() { + return institute; + } + + /** + * Sets the value of the institute property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setInstitute(String value) { + this.institute = value; + } + + /** + * Gets the value of the country property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getCountry() { + return country; + } + + /** + * Sets the value of the country property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setCountry(String value) { + this.country = value; + } + +}