Class Sample
- java.lang.Object
-
- org.icatproject.EntityBaseBean
-
- org.icatproject.Sample
-
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>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Dataset>datasetsprotected Investigationinvestigationprotected Stringnameprotected List<SampleParameter>parametersprotected Stringpidprotected SampleTypetype-
Fields inherited from class org.icatproject.EntityBaseBean
createId, createTime, id, modId, modTime
-
-
Constructor Summary
Constructors Constructor Description Sample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Dataset>getDatasets()Gets the value of the datasets property.InvestigationgetInvestigation()Gets the value of the investigation property.StringgetName()Gets the value of the name property.List<SampleParameter>getParameters()Gets the value of the parameters property.StringgetPid()Gets the value of the pid property.SampleTypegetType()Gets the value of the type property.voidsetInvestigation(Investigation value)Sets the value of the investigation property.voidsetName(String value)Sets the value of the name property.voidsetPid(String value)Sets the value of the pid property.voidsetType(SampleType value)Sets the value of the type property.-
Methods inherited from class org.icatproject.EntityBaseBean
getCreateId, getCreateTime, getId, getModId, getModTime, setCreateId, setCreateTime, setId, setModId, setModTime
-
-
-
-
Field Detail
-
investigation
protected Investigation investigation
-
name
protected String name
-
parameters
protected List<SampleParameter> parameters
-
pid
protected String pid
-
type
protected SampleType type
-
-
Method Detail
-
getDatasets
public List<Dataset> getDatasets()
Gets the value of the datasets 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
getInvestigation
public Investigation getInvestigation()
Gets the value of the investigation property.- Returns:
- possible object is
Investigation
-
setInvestigation
public void setInvestigation(Investigation value)
Sets the value of the investigation property.- Parameters:
value- allowed object isInvestigation
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getParameters
public List<SampleParameter> getParameters()
Gets the value of the parameters 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 Jakarta XML Binding object. This is why there is not a
setmethod 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
-
getPid
public String getPid()
Gets the value of the pid property.- Returns:
- possible object is
String
-
setPid
public void setPid(String value)
Sets the value of the pid property.- Parameters:
value- allowed object isString
-
getType
public SampleType getType()
Gets the value of the type property.- Returns:
- possible object is
SampleType
-
setType
public void setType(SampleType value)
Sets the value of the type property.- Parameters:
value- allowed object isSampleType
-
-