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

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

public class SubSample
extends MzIdentMLObject
implements Serializable

References to the individual component samples within a mixed parent sample. TODO marshalling/ persistor add validation to check for case where someone gets sample and changes its id without updating ref id in SubSample and other such clases. NOTE: There is no setter method for the sampleRef. This simplifies keeping the sample object reference and sampleRef synchronized.

Java class for SubSampleType complex type.

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

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

See Also:
Serialized Form

Field Summary
protected  Sample sample
           
protected  String sampleRef
           
 
Constructor Summary
SubSample()
           
 
Method Summary
 Sample getSample()
           
 String getSampleRef()
          Gets the value of the sampleRef property.
 void setSample(Sample sample)
           
 
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

sampleRef

protected String sampleRef

sample

protected Sample sample
Constructor Detail

SubSample

public SubSample()
Method Detail

getSample

public Sample getSample()

setSample

public void setSample(Sample sample)

getSampleRef

public String getSampleRef()
Gets the value of the sampleRef property.

Returns:
possible object is String


Copyright © 2012. All Rights Reserved.