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

java.lang.Object
  extended by uk.ac.ebi.jmzidml.model.MzIdentMLObject
      extended by uk.ac.ebi.jmzidml.model.mzidml.Identifiable
          extended by uk.ac.ebi.jmzidml.model.mzidml.Sample
All Implemented Interfaces:
Serializable, CvParamListCapable, ParamGroupCapable

public class Sample
extends Identifiable
implements Serializable, ParamGroupCapable

A description of the sample analysed by mass spectrometry using CVParams or UserParams. If a composite sample has been analysed, a parent sample should be defined, which references subsamples. This represents any kind of substance used in an experimental workflow, such as whole organisms, cells, DNA, solutions, compounds and experimental substances (gels, arrays etc.).

Java class for SampleType complex type.

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

 <complexType name="SampleType">
   <complexContent>
     <extension base="{http://psidev.info/psi/pi/mzIdentML/1.1}IdentifiableType">
       <sequence>
         <element name="ContactRole" type="{http://psidev.info/psi/pi/mzIdentML/1.1}ContactRoleType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="SubSample" type="{http://psidev.info/psi/pi/mzIdentML/1.1}SubSampleType" maxOccurs="unbounded" minOccurs="0"/>
         <group ref="{http://psidev.info/psi/pi/mzIdentML/1.1}ParamGroup" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<ContactRole> contactRole
           
protected  List<AbstractParam> paramGroup
           
protected  List<SubSample> subSample
           
 
Fields inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
id, name
 
Constructor Summary
Sample()
           
 
Method Summary
 List<ContactRole> getContactRole()
          Gets the value of the contactRole property.
 List<CvParam> getCvParam()
           
 List<AbstractParam> getParamGroup()
          The characteristics of a Material.Gets the value of the paramGroup property.
 List<SubSample> getSubSample()
          Gets the value of the subSample property.
 List<UserParam> getUserParam()
           
 
Methods inherited from class uk.ac.ebi.jmzidml.model.mzidml.Identifiable
getId, getName, setId, setName
 
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

contactRole

protected List<ContactRole> contactRole

subSample

protected List<SubSample> subSample

paramGroup

protected List<AbstractParam> paramGroup
Constructor Detail

Sample

public Sample()
Method Detail

getContactRole

public List<ContactRole> getContactRole()
Gets the value of the contactRole 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 contactRole property.

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

    getContactRole().add(newItem);
 

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


getSubSample

public List<SubSample> getSubSample()
Gets the value of the subSample 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 subSample property.

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

    getSubSample().add(newItem);
 

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


getParamGroup

public List<AbstractParam> getParamGroup()
The characteristics of a Material.Gets the value of the paramGroup 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 paramGroup property.

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

    getParamGroup().add(newItem);
 

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


getCvParam

public List<CvParam> getCvParam()
Specified by:
getCvParam in interface CvParamListCapable
Specified by:
getCvParam in interface ParamGroupCapable
Returns:
A List of CvParam objects.

getUserParam

public List<UserParam> getUserParam()
Specified by:
getUserParam in interface ParamGroupCapable


Copyright © 2012. All Rights Reserved.