X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fxml%2Fbinding%2Funiprot%2FSequenceType.java;h=78ddd89e32806c7d6276eda8b851192843e0d842;hb=57738a1f3c19b1c3a00bd3ac5108f8cd0af32f99;hp=8c10faf42e907c671784cb01254be63f801846f4;hpb=e7338a61f3ce96dadf44ac80b2b32cc5ba4b94c8;p=jalview.git diff --git a/src/jalview/xml/binding/uniprot/SequenceType.java b/src/jalview/xml/binding/uniprot/SequenceType.java index 8c10faf..78ddd89 100644 --- a/src/jalview/xml/binding/uniprot/SequenceType.java +++ b/src/jalview/xml/binding/uniprot/SequenceType.java @@ -5,7 +5,6 @@ // Generated on: 2019.04.05 at 08:01:44 AM BST // - package jalview.xml.binding.uniprot; import javax.xml.bind.annotation.XmlAccessType; @@ -16,11 +15,13 @@ import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; import javax.xml.datatype.XMLGregorianCalendar; - /** - *
Java class for sequenceType complex type. + *
+ * Java class for sequenceType 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="sequenceType"> @@ -48,195 +49,202 @@ import javax.xml.datatype.XMLGregorianCalendar; * */ @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; + } }