|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ebi.jmzidml.model.MzIdentMLObject
uk.ac.ebi.jmzidml.model.mzidml.IonType
public class IonType
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>
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 |
---|
protected List<FragmentArray> fragmentArray
protected CvParam cvParam
protected List<Integer> index
protected int charge
Constructor Detail |
---|
public IonType()
Method Detail |
---|
public List<FragmentArray> getFragmentArray()
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
public CvParam getCvParam()
getCvParam
in interface CvParamCapable
CvParam
public void setCvParam(CvParam value)
setCvParam
in interface CvParamCapable
value
- allowed object is
CvParam
public List<Integer> getIndex()
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
public int getCharge()
public void setCharge(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |