|
||||||||||
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.FragmentArray
public class FragmentArray
An array of values for a given type of measure and for a particular ion type, in parallel to the index of ions identified. TODO marshalling/ persistor add validation to check for case where someone gets measure and changes its id without updating ref id in FragmentArray and other such clases. NOTE: There is no setter method for the measureRef. This simplifies keeping the measure object reference and measureRef synchronized.
Java class for FragmentArrayType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="FragmentArrayType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="values" use="required" type="{http://psidev.info/psi/pi/mzIdentML/1.1}listOfFloats" /> <attribute name="measure_ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected Measure |
measure
|
protected String |
measureRef
|
protected List<Float> |
values
|
Constructor Summary | |
---|---|
FragmentArray()
|
Method Summary | |
---|---|
Measure |
getMeasure()
|
String |
getMeasureRef()
Gets the value of the measureRef property. |
List<Float> |
getValues()
Gets the value of the values property. |
void |
setMeasure(Measure measure)
|
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<Float> values
protected String measureRef
protected Measure measure
Constructor Detail |
---|
public FragmentArray()
Method Detail |
---|
public List<Float> getValues()
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 values property.
For example, to add a new item, do as follows:
getValues().add(newItem);
Objects of the following type(s) are allowed in the list
Float
public String getMeasureRef()
String
public Measure getMeasure()
public void setMeasure(Measure measure)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |