au.edu.archer.schemas.icat
Class Study

java.lang.Object
  extended by au.edu.archer.schemas.icat.Study
All Implemented Interfaces:
BaseDomain, java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals

public class Study
extends java.lang.Object
implements BaseDomain, org.jvnet.jaxb2_commons.lang.Equals

Java class for Study complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Study">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="location" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="purpose" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="status" type="{http://archer.edu.au/schemas/icat}StudyStatus" minOccurs="0"/>
         <element name="relatedMaterial" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="investigation" type="{http://archer.edu.au/schemas/icat}Investigation" maxOccurs="unbounded" minOccurs="0"/>
         <element name="createId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="createTime" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="modifyId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="modifyTime" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.Integer createId
           
protected  java.util.Calendar createTime
           
protected  boolean deleted
           
protected  java.lang.Integer id
           
protected  java.util.List<Investigation> investigation
           
protected  java.lang.String location
           
protected  java.lang.Integer modifyId
           
protected  java.util.Calendar modifyTime
           
protected  java.lang.String name
           
protected  java.lang.String purpose
           
protected  java.lang.String relatedMaterial
           
protected  StudyStatus status
           
 
Constructor Summary
Study()
           
 
Method Summary
 void addInvestigation(Investigation child)
           
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.Integer getCreateId()
          Gets the value of the createId property.
 java.util.Calendar getCreateTime()
          Gets the value of the createTime property.
 java.lang.Integer getId()
          Gets the value of the id property.
 java.util.List<Investigation> getInvestigation()
          Gets the value of the investigation property.
 java.lang.String getLocation()
          Gets the value of the location property.
 java.lang.Integer getModifyId()
          Gets the value of the modifyId property.
 java.util.Calendar getModifyTime()
          Gets the value of the modifyTime property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPurpose()
          Gets the value of the purpose property.
 java.lang.String getRelatedMaterial()
          Gets the value of the relatedMaterial property.
 StudyStatus getStatus()
          Gets the value of the status property.
 boolean isDeleted()
          Gets the value of the deleted property.
 boolean isSetCreateId()
           
 boolean isSetCreateTime()
           
 boolean isSetDeleted()
           
 boolean isSetId()
           
 boolean isSetInvestigation()
           
 boolean isSetLocation()
           
 boolean isSetModifyId()
           
 boolean isSetModifyTime()
           
 boolean isSetName()
           
 boolean isSetPurpose()
           
 boolean isSetRelatedMaterial()
           
 boolean isSetStatus()
           
 void setCreateId(java.lang.Integer value)
          Sets the value of the createId property.
 void setCreateTime(java.util.Calendar value)
          Sets the value of the createTime property.
 void setDeleted(boolean value)
          Sets the value of the deleted property.
 void setId(java.lang.Integer value)
          Sets the value of the id property.
 void setInvestigation(java.util.List<Investigation> investigation)
           
 void setLocation(java.lang.String value)
          Sets the value of the location property.
 void setModifyId(java.lang.Integer value)
          Sets the value of the modifyId property.
 void setModifyTime(java.util.Calendar value)
          Sets the value of the modifyTime property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPurpose(java.lang.String value)
          Sets the value of the purpose property.
 void setRelatedMaterial(java.lang.String value)
          Sets the value of the relatedMaterial property.
 void setStatus(StudyStatus value)
          Sets the value of the status property.
 void unsetInvestigation()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.Integer id

name

protected java.lang.String name

location

protected java.lang.String location

purpose

protected java.lang.String purpose

status

protected StudyStatus status

relatedMaterial

protected java.lang.String relatedMaterial

deleted

protected boolean deleted

investigation

protected java.util.List<Investigation> investigation

createId

protected java.lang.Integer createId

createTime

protected java.util.Calendar createTime

modifyId

protected java.lang.Integer modifyId

modifyTime

protected java.util.Calendar modifyTime
Constructor Detail

Study

public Study()
Method Detail

getId

public java.lang.Integer getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(java.lang.Integer value)
Sets the value of the id property.

Parameters:
value - allowed object is String

isSetId

public boolean isSetId()

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()

getLocation

public java.lang.String getLocation()
Gets the value of the location property.

Returns:
possible object is String

setLocation

public void setLocation(java.lang.String value)
Sets the value of the location property.

Parameters:
value - allowed object is String

isSetLocation

public boolean isSetLocation()

getPurpose

public java.lang.String getPurpose()
Gets the value of the purpose property.

Returns:
possible object is String

setPurpose

public void setPurpose(java.lang.String value)
Sets the value of the purpose property.

Parameters:
value - allowed object is String

isSetPurpose

public boolean isSetPurpose()

getStatus

public StudyStatus getStatus()
Gets the value of the status property.

Returns:
possible object is StudyStatus

setStatus

public void setStatus(StudyStatus value)
Sets the value of the status property.

Parameters:
value - allowed object is StudyStatus

isSetStatus

public boolean isSetStatus()

getRelatedMaterial

public java.lang.String getRelatedMaterial()
Gets the value of the relatedMaterial property.

Returns:
possible object is String

setRelatedMaterial

public void setRelatedMaterial(java.lang.String value)
Sets the value of the relatedMaterial property.

Parameters:
value - allowed object is String

isSetRelatedMaterial

public boolean isSetRelatedMaterial()

isDeleted

public boolean isDeleted()
Gets the value of the deleted property.


setDeleted

public void setDeleted(boolean value)
Sets the value of the deleted property.


isSetDeleted

public boolean isSetDeleted()

getInvestigation

public java.util.List<Investigation> getInvestigation()
Gets the value of the investigation 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 JAXB object. This is why there is not a set method for the investigation property.

For example, to add a new item, do as follows:

    getInvestigation().add(newItem);
 

Objects of the following type(s) are allowed in the list Investigation


setInvestigation

public void setInvestigation(java.util.List<Investigation> investigation)

isSetInvestigation

public boolean isSetInvestigation()

unsetInvestigation

public void unsetInvestigation()

getCreateId

public java.lang.Integer getCreateId()
Gets the value of the createId property.

Specified by:
getCreateId in interface BaseDomain
Returns:
possible object is String

setCreateId

public void setCreateId(java.lang.Integer value)
Sets the value of the createId property.

Specified by:
setCreateId in interface BaseDomain
Parameters:
value - allowed object is String

isSetCreateId

public boolean isSetCreateId()

getCreateTime

public java.util.Calendar getCreateTime()
Gets the value of the createTime property.

Specified by:
getCreateTime in interface BaseDomain
Returns:
possible object is String

setCreateTime

public void setCreateTime(java.util.Calendar value)
Sets the value of the createTime property.

Specified by:
setCreateTime in interface BaseDomain
Parameters:
value - allowed object is String

isSetCreateTime

public boolean isSetCreateTime()

getModifyId

public java.lang.Integer getModifyId()
Gets the value of the modifyId property.

Specified by:
getModifyId in interface BaseDomain
Returns:
possible object is String

setModifyId

public void setModifyId(java.lang.Integer value)
Sets the value of the modifyId property.

Specified by:
setModifyId in interface BaseDomain
Parameters:
value - allowed object is String

isSetModifyId

public boolean isSetModifyId()

getModifyTime

public java.util.Calendar getModifyTime()
Gets the value of the modifyTime property.

Specified by:
getModifyTime in interface BaseDomain
Returns:
possible object is String

setModifyTime

public void setModifyTime(java.util.Calendar value)
Sets the value of the modifyTime property.

Specified by:
setModifyTime in interface BaseDomain
Parameters:
value - allowed object is String

isSetModifyTime

public boolean isSetModifyTime()

addInvestigation

public void addInvestigation(Investigation child)

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object


Copyright © 2008 ARCHER - James Cook University. All Rights Reserved.