public class Study extends EntityBaseBean
Java class for study complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="study"> <complexContent> <extension base="{http://icatproject.org}entityBaseBean"> <sequence> <element name="description" 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="startDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="status" type="{http://icatproject.org}studyStatus" minOccurs="0"/> <element name="studyInvestigations" type="{http://icatproject.org}studyInvestigation" maxOccurs="unbounded" minOccurs="0"/> <element name="user" type="{http://icatproject.org}user" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected String |
name |
protected XMLGregorianCalendar |
startDate |
protected StudyStatus |
status |
protected List<StudyInvestigation> |
studyInvestigations |
protected User |
user |
createId, createTime, id, modId, modTime
Constructor and Description |
---|
Study() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the value of the description property.
|
String |
getName()
Gets the value of the name property.
|
XMLGregorianCalendar |
getStartDate()
Gets the value of the startDate property.
|
StudyStatus |
getStatus()
Gets the value of the status property.
|
List<StudyInvestigation> |
getStudyInvestigations()
Gets the value of the studyInvestigations property.
|
User |
getUser()
Gets the value of the user property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setStartDate(XMLGregorianCalendar value)
Sets the value of the startDate property.
|
void |
setStatus(StudyStatus value)
Sets the value of the status property.
|
void |
setUser(User value)
Sets the value of the user property.
|
getCreateId, getCreateTime, getId, getModId, getModTime, setCreateId, setCreateTime, setId, setModId, setModTime
protected String description
protected String name
protected XMLGregorianCalendar startDate
protected StudyStatus status
protected List<StudyInvestigation> studyInvestigations
protected User user
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public String getName()
String
public void setName(String value)
value
- allowed object is
String
public XMLGregorianCalendar getStartDate()
XMLGregorianCalendar
public void setStartDate(XMLGregorianCalendar value)
value
- allowed object is
XMLGregorianCalendar
public StudyStatus getStatus()
StudyStatus
public void setStatus(StudyStatus value)
value
- allowed object is
StudyStatus
public List<StudyInvestigation> getStudyInvestigations()
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 studyInvestigations property.
For example, to add a new item, do as follows:
getStudyInvestigations().add(newItem);
Objects of the following type(s) are allowed in the list
StudyInvestigation
Copyright © 2013 The ICAT Collaboration. All Rights Reserved.