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

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.AmbiguousResidue
All Implemented Interfaces:
Serializable, CvParamListCapable, ParamGroupCapable

public class AmbiguousResidue
extends MzIdentMLObject
implements Serializable, ParamGroupCapable

Ambiguous residues e.g. X can be specified by the Code attribute and a set of parameters for example giving the different masses that will be used in the search.

Java class for AmbiguousResidueType complex type.

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

 <complexType name="AmbiguousResidueType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <group ref="{http://psidev.info/psi/pi/mzIdentML/1.1}ParamGroup" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="code" use="required" type="{http://psidev.info/psi/pi/mzIdentML/1.1}chars" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String code
           
protected  List<AbstractParam> paramGroup
           
 
Constructor Summary
AmbiguousResidue()
           
 
Method Summary
 String getCode()
          Gets the value of the code property.
 List<CvParam> getCvParam()
           
 List<AbstractParam> getParamGroup()
          Parameters for capturing e.g.
 List<UserParam> getUserParam()
           
 void setCode(String value)
          Sets the value of the code 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

paramGroup

protected List<AbstractParam> paramGroup

code

protected String code
Constructor Detail

AmbiguousResidue

public AmbiguousResidue()
Method Detail

getParamGroup

public List<AbstractParam> getParamGroup()
Parameters for capturing e.g. "alternate single letter codes"Gets the value of the paramGroup 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 paramGroup property.

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

    getParamGroup().add(newItem);
 

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


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

getCvParam

public List<CvParam> getCvParam()
Specified by:
getCvParam in interface CvParamListCapable
Specified by:
getCvParam in interface ParamGroupCapable
Returns:
A List of CvParam objects.

getUserParam

public List<UserParam> getUserParam()
Specified by:
getUserParam in interface ParamGroupCapable


Copyright © 2012. All Rights Reserved.