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

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

public class AnalysisSampleCollection
extends MzIdentMLObject
implements Serializable

The samples analysed can optionally be recorded using CV terms for descriptions. If a composite sample has been analysed, the subsample association can be used to build a hierarchical description.

Java class for AnalysisSampleCollectionType complex type.

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

 <complexType name="AnalysisSampleCollectionType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Sample" type="{http://psidev.info/psi/pi/mzIdentML/1.1}SampleType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Sample> sample
           
 
Constructor Summary
AnalysisSampleCollection()
           
 
Method Summary
 List<Sample> getSample()
          Gets the value of the sample 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

sample

protected List<Sample> sample
Constructor Detail

AnalysisSampleCollection

public AnalysisSampleCollection()
Method Detail

getSample

public List<Sample> getSample()
Gets the value of the sample property.

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 sample property.

For example, to add a new item, do as follows:

    getSample().add(newItem);
 

Objects of the following type(s) are allowed in the list Sample

Returns:
sample


Copyright © 2012. All Rights Reserved.