Class SequenceType

java.lang.Object
org.uniprot.uniprot.SequenceType

public class SequenceType extends Object

Java class for sequenceType complex type

.

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


 <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>
 
  • Field Details

    • value

      protected String value
    • length

      protected int length
    • mass

      protected int mass
    • checksum

      protected String checksum
    • modified

      protected XMLGregorianCalendar modified
    • version

      protected int version
    • precursor

      protected Boolean precursor
    • fragment

      protected String fragment
  • Constructor Details

    • SequenceType

      public SequenceType()
  • Method Details

    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getLength

      public int getLength()
      Gets the value of the length property.
    • setLength

      public void setLength(int value)
      Sets the value of the length property.
    • getMass

      public int getMass()
      Gets the value of the mass property.
    • setMass

      public void setMass(int value)
      Sets the value of the mass property.
    • getChecksum

      public String getChecksum()
      Gets the value of the checksum property.
      Returns:
      possible object is String
    • setChecksum

      public void setChecksum(String value)
      Sets the value of the checksum property.
      Parameters:
      value - allowed object is String
    • getModified

      public XMLGregorianCalendar getModified()
      Gets the value of the modified property.
      Returns:
      possible object is XMLGregorianCalendar
    • setModified

      public void setModified(XMLGregorianCalendar value)
      Sets the value of the modified property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getVersion

      public int getVersion()
      Gets the value of the version property.
    • setVersion

      public void setVersion(int value)
      Sets the value of the version property.
    • isPrecursor

      public Boolean isPrecursor()
      Gets the value of the precursor property.
      Returns:
      possible object is Boolean
    • setPrecursor

      public void setPrecursor(Boolean value)
      Sets the value of the precursor property.
      Parameters:
      value - allowed object is Boolean
    • getFragment

      public String getFragment()
      Gets the value of the fragment property.
      Returns:
      possible object is String
    • setFragment

      public void setFragment(String value)
      Sets the value of the fragment property.
      Parameters:
      value - allowed object is String