X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSequenceType.java;h=42d8c58d6f9aef9fb9c627dd787d9c5c64d70477;hb=4b7d3640209c4434d569c746672cf9eed4250ace;hp=a5f7749994bb9f384be3b568e1251c2d3a15f2ef;hpb=7b32d373b60d0af55481cfd6d377b2cc1ec035c0;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SequenceType.java b/src/jalview/xml/binding/uniprot/SequenceType.java index a5f7749..42d8c58 100644 --- a/src/jalview/xml/binding/uniprot/SequenceType.java +++ b/src/jalview/xml/binding/uniprot/SequenceType.java @@ -1,11 +1,10 @@ // -// This file was generated by the Eclipse Implementation of JAXB, v2.3.3 -// See https://eclipse-ee4j.github.io/jaxb-ri +// 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: 2022.02.07 at 04:44:21 PM GMT +// Generated on: 2023.03.17 at 05:31:46 PM GMT // - package jalview.xml.binding.uniprot; import javax.xml.bind.annotation.XmlAccessType; @@ -16,227 +15,236 @@ import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import javax.xml.datatype.XMLGregorianCalendar; - /** - * <p>Java class for sequenceType complex type. + *

+ * Java class for sequenceType complex type. * - * <p>The following schema fragment specifies the expected content contained within this class. + *

+ * The following schema fragment specifies the expected content contained within + * this class. * - * <pre> - * &lt;complexType name="sequenceType"&gt; - * &lt;simpleContent&gt; - * &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema&gt;string"&gt; - * &lt;attribute name="length" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="mass" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="checksum" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; - * &lt;attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" /&gt; - * &lt;attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; - * &lt;attribute name="precursor" type="{http://www.w3.org/2001/XMLSchema}boolean" /&gt; - * &lt;attribute name="fragment"&gt; - * &lt;simpleType&gt; - * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&gt; - * &lt;enumeration value="single"/&gt; - * &lt;enumeration value="multiple"/&gt; - * &lt;/restriction&gt; - * &lt;/simpleType&gt; - * &lt;/attribute&gt; - * &lt;/extension&gt; - * &lt;/simpleContent&gt; - * &lt;/complexType&gt; - * </pre> + *

+ * <complexType name="sequenceType">
+ *   <simpleContent>
+ *     <extension base="<http://www.w3.org/2001/XMLSchema>string">
+ *       <attribute name="length" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *       <attribute name="mass" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *       <attribute name="checksum" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="modified" use="required" type="{http://www.w3.org/2001/XMLSchema}date" />
+ *       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *       <attribute name="precursor" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *       <attribute name="fragment">
+ *         <simpleType>
+ *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ *             <enumeration value="single"/>
+ *             <enumeration value="multiple"/>
+ *           </restriction>
+ *         </simpleType>
+ *       </attribute>
+ *     </extension>
+ *   </simpleContent>
+ * </complexType>
+ * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "sequenceType", propOrder = { - "value" -}) -public class SequenceType { - - @XmlValue - protected String value; - @XmlAttribute(name = "length", required = true) - protected int length; - @XmlAttribute(name = "mass", required = true) - protected int mass; - @XmlAttribute(name = "checksum", required = true) - protected String checksum; - @XmlAttribute(name = "modified", required = true) - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar modified; - @XmlAttribute(name = "version", required = true) - protected int version; - @XmlAttribute(name = "precursor") - protected Boolean precursor; - @XmlAttribute(name = "fragment") - protected String fragment; - - /** - * 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 length property. - * - */ - public int getLength() { - return length; - } - - /** - * Sets the value of the length property. - * - */ - public void setLength(int value) { - this.length = value; - } - - /** - * Gets the value of the mass property. - * - */ - public int getMass() { - return mass; - } - - /** - * Sets the value of the mass property. - * - */ - public void setMass(int value) { - this.mass = value; - } - - /** - * Gets the value of the checksum property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getChecksum() { - return checksum; - } - - /** - * Sets the value of the checksum property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setChecksum(String value) { - this.checksum = value; - } - - /** - * Gets the value of the modified property. - * - * @return - * possible object is - * {@link XMLGregorianCalendar } - * - */ - public XMLGregorianCalendar getModified() { - return modified; - } - - /** - * Sets the value of the modified property. - * - * @param value - * allowed object is - * {@link XMLGregorianCalendar } - * - */ - public void setModified(XMLGregorianCalendar value) { - this.modified = value; - } - - /** - * Gets the value of the version property. - * - */ - public int getVersion() { - return version; - } - - /** - * Sets the value of the version property. - * - */ - public void setVersion(int value) { - this.version = value; - } - - /** - * Gets the value of the precursor property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isPrecursor() { - return precursor; - } - - /** - * Sets the value of the precursor property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setPrecursor(Boolean value) { - this.precursor = value; - } - - /** - * Gets the value of the fragment property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFragment() { - return fragment; - } - - /** - * Sets the value of the fragment property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFragment(String value) { - this.fragment = value; - } +@XmlType(name = "sequenceType", propOrder = { "value" }) +public class SequenceType +{ + + @XmlValue + protected String value; + + @XmlAttribute(name = "length", required = true) + protected int length; + + @XmlAttribute(name = "mass", required = true) + protected int mass; + + @XmlAttribute(name = "checksum", required = true) + protected String checksum; + + @XmlAttribute(name = "modified", required = true) + @XmlSchemaType(name = "date") + protected XMLGregorianCalendar modified; + + @XmlAttribute(name = "version", required = true) + protected int version; + + @XmlAttribute(name = "precursor") + protected Boolean precursor; + + @XmlAttribute(name = "fragment") + protected String fragment; + + /** + * 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 length property. + * + */ + public int getLength() + { + return length; + } + + /** + * Sets the value of the length property. + * + */ + public void setLength(int value) + { + this.length = value; + } + + /** + * Gets the value of the mass property. + * + */ + public int getMass() + { + return mass; + } + + /** + * Sets the value of the mass property. + * + */ + public void setMass(int value) + { + this.mass = value; + } + + /** + * Gets the value of the checksum property. + * + * @return possible object is {@link String } + * + */ + public String getChecksum() + { + return checksum; + } + + /** + * Sets the value of the checksum property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setChecksum(String value) + { + this.checksum = value; + } + + /** + * Gets the value of the modified property. + * + * @return possible object is {@link XMLGregorianCalendar } + * + */ + public XMLGregorianCalendar getModified() + { + return modified; + } + + /** + * Sets the value of the modified property. + * + * @param value + * allowed object is {@link XMLGregorianCalendar } + * + */ + public void setModified(XMLGregorianCalendar value) + { + this.modified = value; + } + + /** + * Gets the value of the version property. + * + */ + public int getVersion() + { + return version; + } + + /** + * Sets the value of the version property. + * + */ + public void setVersion(int value) + { + this.version = value; + } + + /** + * Gets the value of the precursor property. + * + * @return possible object is {@link Boolean } + * + */ + public Boolean isPrecursor() + { + return precursor; + } + + /** + * Sets the value of the precursor property. + * + * @param value + * allowed object is {@link Boolean } + * + */ + public void setPrecursor(Boolean value) + { + this.precursor = value; + } + + /** + * Gets the value of the fragment property. + * + * @return possible object is {@link String } + * + */ + public String getFragment() + { + return fragment; + } + + /** + * Sets the value of the fragment property. + * + * @param value + * allowed object is {@link String } + * + */ + public void setFragment(String value) + { + this.fragment = value; + } }