|
||||||||||
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.Identifiable
uk.ac.ebi.jmzidml.model.mzidml.Sample
public class Sample
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>
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 |
---|
protected List<ContactRole> contactRole
protected List<SubSample> subSample
protected List<AbstractParam> paramGroup
Constructor Detail |
---|
public Sample()
Method Detail |
---|
public List<ContactRole> getContactRole()
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
public List<SubSample> getSubSample()
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
public List<AbstractParam> getParamGroup()
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
public List<CvParam> getCvParam()
getCvParam
in interface CvParamListCapable
getCvParam
in interface ParamGroupCapable
public List<UserParam> getUserParam()
getUserParam
in interface ParamGroupCapable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |