public class Sample extends EntityBaseBean
Java class for sample complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="sample"> <complexContent> <extension base="{http://icatproject.org}entityBaseBean"> <sequence> <element name="datasets" type="{http://icatproject.org}dataset" maxOccurs="unbounded" minOccurs="0"/> <element name="investigation" type="{http://icatproject.org}investigation" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="parameters" type="{http://icatproject.org}sampleParameter" maxOccurs="unbounded" minOccurs="0"/> <element name="pid" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="type" type="{http://icatproject.org}sampleType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Dataset> |
datasets |
protected Investigation |
investigation |
protected String |
name |
protected List<SampleParameter> |
parameters |
protected String |
pid |
protected SampleType |
type |
createId, createTime, id, modId, modTime
Constructor and Description |
---|
Sample() |
Modifier and Type | Method and Description |
---|---|
List<Dataset> |
getDatasets()
Gets the value of the datasets property.
|
Investigation |
getInvestigation()
Gets the value of the investigation property.
|
String |
getName()
Gets the value of the name property.
|
List<SampleParameter> |
getParameters()
Gets the value of the parameters property.
|
String |
getPid()
Gets the value of the pid property.
|
SampleType |
getType()
Gets the value of the type property.
|
void |
setInvestigation(Investigation value)
Sets the value of the investigation property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setPid(String value)
Sets the value of the pid property.
|
void |
setType(SampleType value)
Sets the value of the type property.
|
getCreateId, getCreateTime, getId, getModId, getModTime, setCreateId, setCreateTime, setId, setModId, setModTime
protected Investigation investigation
protected String name
protected List<SampleParameter> parameters
protected String pid
protected SampleType type
public List<Dataset> getDatasets()
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 datasets property.
For example, to add a new item, do as follows:
getDatasets().add(newItem);
Objects of the following type(s) are allowed in the list
Dataset
public Investigation getInvestigation()
Investigation
public void setInvestigation(Investigation value)
value
- allowed object is
Investigation
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public List<SampleParameter> getParameters()
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 parameters property.
For example, to add a new item, do as follows:
getParameters().add(newItem);
Objects of the following type(s) are allowed in the list
SampleParameter
public String getPid()
String
public void setPid(String value)
value
- allowed object is
String
public SampleType getType()
SampleType
public void setType(SampleType value)
value
- allowed object is
SampleType
Copyright © 2022 The ICAT Collaboration. All rights reserved.