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=b38df87dabc1b6c45e63a7e6e3560928dc93f22c;hb=d043ce47fc710d3eb2629ba926a8a7417bd67d8c;hp=07adace46adafcaf89f36a19c44208daa3b6f122;hpb=49db0dff1da16c3355b43a41498c1fc93ef47e91;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/CitationType.java b/src/jalview/xml/binding/uniprot/CitationType.java index 07adace..b38df87 100644 --- a/src/jalview/xml/binding/uniprot/CitationType.java +++ b/src/jalview/xml/binding/uniprot/CitationType.java @@ -5,7 +5,6 @@ // Generated on: 2019.04.05 at 08:01:44 AM BST // - package jalview.xml.binding.uniprot; import java.util.ArrayList; @@ -15,14 +14,16 @@ 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. + * Describes different types of citations. Equivalent to the flat file RX-, RG-, + * RA-, RT- and RL-lines. * - *
Java class for citationType complex type. + *
+ * Java class for citationType complex type. * - *
The following schema fragment specifies the expected content contained within this class. + *
+ * The following schema fragment specifies the expected content contained within + * this class. * *
* <complexType name="citationType"> @@ -72,456 +73,457 @@ import javax.xml.bind.annotation.XmlType; * */ @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 ListdbReference; - @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; - } +@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; + } }