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

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

public class InputSpectra
extends MzIdentMLObject
implements Serializable

The attribute referencing an identifier within the SpectraData section. TODO marshalling/ persistor add validation to check for case where someone gets spectraData and changes its id without updating ref id in InputSpectra and other such classes. NOTE: There is no setter method for the spectraDataRef. This simplifies keeping the measure object reference and spectraDataRef synchronized.

Java class for InputSpectraType complex type.

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

 <complexType name="InputSpectraType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="spectraData_ref" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  SpectraData spectraData
           
protected  String spectraDataRef
           
 
Constructor Summary
InputSpectra()
           
 
Method Summary
 SpectraData getSpectraData()
           
 String getSpectraDataRef()
          Gets the value of the spectraDataRef property.
 void setSpectraData(SpectraData spectraData)
           
 
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

spectraDataRef

protected String spectraDataRef

spectraData

protected SpectraData spectraData
Constructor Detail

InputSpectra

public InputSpectra()
Method Detail

getSpectraData

public SpectraData getSpectraData()

setSpectraData

public void setSpectraData(SpectraData spectraData)

getSpectraDataRef

public String getSpectraDataRef()
Gets the value of the spectraDataRef property.

Returns:
possible object is String


Copyright © 2012. All Rights Reserved.