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

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

public class ModParam
extends MzIdentMLObject
implements Serializable, CvParamCapable

The modification searched for, sourced from e.g. UniMod and the mass delta

Java class for ModParamType complex type.

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

 <complexType name="ModParamType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="cvParam" type="{http://psidev.info/psi/pi/mzIdentML/1.1}cvParamType"/>
       </sequence>
       <attribute name="massDelta" use="required" type="{http://www.w3.org/2001/XMLSchema}float" />
       <attribute name="residues" use="required" type="{http://psidev.info/psi/pi/mzIdentML/1.1}listOfChars" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  CvParam cvParam
           
protected  float massDelta
           
protected  List<String> residues
           
 
Constructor Summary
ModParam()
           
 
Method Summary
 CvParam getCvParam()
          Gets the value of the cvParam property.
 float getMassDelta()
          Gets the value of the massDelta property.
 List<String> getResidues()
          Gets the value of the residues property.
 void setCvParam(CvParam value)
          Sets the value of the cvParam property.
 void setMassDelta(float value)
          Sets the value of the massDelta 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

cvParam

protected CvParam cvParam

massDelta

protected float massDelta

residues

protected List<String> residues
Constructor Detail

ModParam

public ModParam()
Method Detail

getCvParam

public CvParam getCvParam()
Gets the value of the cvParam property.

Specified by:
getCvParam in interface CvParamCapable
Returns:
possible object is CvParam

setCvParam

public void setCvParam(CvParam value)
Sets the value of the cvParam property.

Specified by:
setCvParam in interface CvParamCapable
Parameters:
value - allowed object is CvParam

getMassDelta

public float getMassDelta()
Gets the value of the massDelta property.


setMassDelta

public void setMassDelta(float value)
Sets the value of the massDelta property.


getResidues

public List<String> getResidues()
Gets the value of the residues property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the residues property.

For example, to add a new item, do as follows:

    getResidues().add(newItem);
 

Objects of the following type(s) are allowed in the list String



Copyright © 2012. All Rights Reserved.