|
||||||||||
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.PeptideHypothesis
public class PeptideHypothesis
Peptide evidence on which this ProteinHypothesis is based by reference to a PeptideEvidence element. TODO marshalling/ persistor add validation to check for case where someone gets peptideEvidence and changes its id without updating ref id in PeptideHypothesis and other such classes. NOTE: There is no setter method for the peptideEvidenceRef. This simplifies keeping the peptideEvidence object reference and peptideEvidenceRef synchronized.
Java class for PeptideHypothesisType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PeptideHypothesisType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="SpectrumIdentificationItemRef" type="{http://psidev.info/psi/pi/mzIdentML/1.1}SpectrumIdentificationItemRefType" maxOccurs="unbounded"/> </sequence> <attribute name="peptideEvidence_ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected PeptideEvidence |
peptideEvidence
|
protected String |
peptideEvidenceRef
|
protected List<SpectrumIdentificationItemRef> |
spectrumIdentificationItemRef
|
Constructor Summary | |
---|---|
PeptideHypothesis()
|
Method Summary | |
---|---|
PeptideEvidence |
getPeptideEvidence()
|
String |
getPeptideEvidenceRef()
Gets the value of the peptideEvidenceRef property. |
List<SpectrumIdentificationItemRef> |
getSpectrumIdentificationItemRef()
Gets the value of the spectrumIdentificationItemRef property. |
void |
setPeptideEvidence(PeptideEvidence peptideEvidence)
|
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<SpectrumIdentificationItemRef> spectrumIdentificationItemRef
protected String peptideEvidenceRef
protected PeptideEvidence peptideEvidence
Constructor Detail |
---|
public PeptideHypothesis()
Method Detail |
---|
public List<SpectrumIdentificationItemRef> getSpectrumIdentificationItemRef()
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 spectrumIdentificationItemRef property.
For example, to add a new item, do as follows:
getSpectrumIdentificationItemRef().add(newItem);
Objects of the following type(s) are allowed in the list
SpectrumIdentificationItemRef
public String getPeptideEvidenceRef()
String
public PeptideEvidence getPeptideEvidence()
public void setPeptideEvidence(PeptideEvidence peptideEvidence)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |