uk.ac.ebi.jmzidml.model.mzidml
Class Residue

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.Residue
All Implemented Interfaces:
Serializable

public class Residue
extends MzIdentMLObject
implements Serializable

Java class for ResidueType complex type.

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

 <complexType name="ResidueType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="code" use="required" type="{http://psidev.info/psi/pi/mzIdentML/1.1}chars" />
       <attribute name="mass" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String code
           
protected  float mass
           
 
Constructor Summary
Residue()
           
 
Method Summary
 String getCode()
          Gets the value of the code property.
 float getMass()
          Gets the value of the mass property.
 void setCode(String value)
          Sets the value of the code property.
 void setMass(float value)
          Sets the value of the mass property.
 
Methods inherited from class uk.ac.ebi.jmzidml.model.MzIdentMLObject
getHid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code

protected String code

mass

protected float mass
Constructor Detail

Residue

public Residue()
Method Detail

getCode

public String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

getMass

public float getMass()
Gets the value of the mass property.


setMass

public void setMass(float value)
Sets the value of the mass property.



Copyright © 2012. All Rights Reserved.