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

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

public class IonType
extends MzIdentMLObject
implements Serializable, CvParamCapable

IonType defines the index of fragmentation ions being reported, importing a CV term for the type of ion e.g. b ion. Example: if b3 b7 b8 and b10 have been identified, the index attribute will contain 3 7 8 10, and the corresponding values will be reported in parallel arrays below

Java class for IonTypeType complex type.

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

 <complexType name="IonTypeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="FragmentArray" type="{http://psidev.info/psi/pi/mzIdentML/1.1}FragmentArrayType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="cvParam" type="{http://psidev.info/psi/pi/mzIdentML/1.1}CVParamType"/>
       </sequence>
       <attribute name="index" type="{http://psidev.info/psi/pi/mzIdentML/1.1}listOfIntegers" />
       <attribute name="charge" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  int charge
           
protected  CvParam cvParam
           
protected  List<FragmentArray> fragmentArray
           
protected  List<Integer> index
           
 
Constructor Summary
IonType()
           
 
Method Summary
 int getCharge()
          Gets the value of the charge property.
 CvParam getCvParam()
          Gets the value of the cvParam property.
 List<FragmentArray> getFragmentArray()
          Gets the value of the fragmentArray property.
 List<Integer> getIndex()
          Gets the value of the index property.
 void setCharge(int value)
          Sets the value of the charge property.
 void setCvParam(CvParam value)
          Sets the value of the cvParam 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

fragmentArray

protected List<FragmentArray> fragmentArray

cvParam

protected CvParam cvParam

index

protected List<Integer> index

charge

protected int charge
Constructor Detail

IonType

public IonType()
Method Detail

getFragmentArray

public List<FragmentArray> getFragmentArray()
Gets the value of the fragmentArray 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 fragmentArray property.

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

    getFragmentArray().add(newItem);
 

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


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

getIndex

public List<Integer> getIndex()
Gets the value of the index 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 index property.

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

    getIndex().add(newItem);
 

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


getCharge

public int getCharge()
Gets the value of the charge property.


setCharge

public void setCharge(int value)
Sets the value of the charge property.



Copyright © 2012. All Rights Reserved.