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="{client.icat3.uk}entityBaseBean"> <sequence> <element name="datasets" type="{client.icat3.uk}dataset" maxOccurs="unbounded" minOccurs="0"/> <element name="investigation" type="{client.icat3.uk}investigation" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="parameters" type="{client.icat3.uk}sampleParameter" maxOccurs="unbounded" minOccurs="0"/> <element name="type" type="{client.icat3.uk}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 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.
|
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 |
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 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 SampleType getType()
SampleType
public void setType(SampleType value)
value
- allowed object is
SampleType
Copyright © 2013 The ICAT Collaboration. All Rights Reserved.