Package org.uniprot.uniprot
Class SequenceType
java.lang.Object
org.uniprot.uniprot.SequenceType
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the checksum property.Gets the value of the fragment property.intGets the value of the length property.intgetMass()Gets the value of the mass property.Gets the value of the modified property.getValue()Gets the value of the value property.intGets the value of the version property.Gets the value of the precursor property.voidsetChecksum(String value) Sets the value of the checksum property.voidsetFragment(String value) Sets the value of the fragment property.voidsetLength(int value) Sets the value of the length property.voidsetMass(int value) Sets the value of the mass property.voidsetModified(XMLGregorianCalendar value) Sets the value of the modified property.voidsetPrecursor(Boolean value) Sets the value of the precursor property.voidSets the value of the value property.voidsetVersion(int value) Sets the value of the version property.
-
Field Details
-
value
-
length
protected int length -
mass
protected int mass -
checksum
-
modified
-
version
protected int version -
precursor
-
fragment
-
-
Constructor Details
-
SequenceType
public SequenceType()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
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
Gets the value of the checksum property.- Returns:
- possible object is
String
-
setChecksum
Sets the value of the checksum property.- Parameters:
value- allowed object isString
-
getModified
Gets the value of the modified property.- Returns:
- possible object is
XMLGregorianCalendar
-
setModified
Sets the value of the modified property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
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
Gets the value of the precursor property.- Returns:
- possible object is
Boolean
-
setPrecursor
Sets the value of the precursor property.- Parameters:
value- allowed object isBoolean
-
getFragment
Gets the value of the fragment property.- Returns:
- possible object is
String
-
setFragment
Sets the value of the fragment property.- Parameters:
value- allowed object isString
-