public class SampleType extends EntityBaseBean
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://icatproject.org}entityBaseBean"> <sequence> <element name="facility" type="{http://icatproject.org}facility" minOccurs="0"/> <element name="molecularFormula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="safetyInformation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="samples" type="{http://icatproject.org}sample" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Facility |
facility |
protected String |
molecularFormula |
protected String |
name |
protected String |
safetyInformation |
protected List<Sample> |
samples |
createId, createTime, id, modId, modTime
Constructor and Description |
---|
SampleType() |
Modifier and Type | Method and Description |
---|---|
Facility |
getFacility()
Gets the value of the facility property.
|
String |
getMolecularFormula()
Gets the value of the molecularFormula property.
|
String |
getName()
Gets the value of the name property.
|
String |
getSafetyInformation()
Gets the value of the safetyInformation property.
|
List<Sample> |
getSamples()
Gets the value of the samples property.
|
void |
setFacility(Facility value)
Sets the value of the facility property.
|
void |
setMolecularFormula(String value)
Sets the value of the molecularFormula property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSafetyInformation(String value)
Sets the value of the safetyInformation property.
|
getCreateId, getCreateTime, getId, getModId, getModTime, setCreateId, setCreateTime, setId, setModId, setModTime
protected Facility facility
protected String molecularFormula
protected String name
protected String safetyInformation
public Facility getFacility()
Facility
public void setFacility(Facility value)
value
- allowed object is
Facility
public String getMolecularFormula()
String
public void setMolecularFormula(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public String getSafetyInformation()
String
public void setSafetyInformation(String value)
value
- allowed object is
String
public List<Sample> getSamples()
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 samples property.
For example, to add a new item, do as follows:
getSamples().add(newItem);
Objects of the following type(s) are allowed in the list
Sample
Copyright © 2012 The ICAT Collaboration. All Rights Reserved.