au.edu.archer.schemas.icat
Class Sample

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

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

Java class for Sample complex type.

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

 <complexType name="Sample">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="id" type="{http://www.w3.org/2001/XMLSchema}long"/>
         <element name="investigationID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="instance" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="chemicalFormula" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="proposalSampleID" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
         <element name="safetyInformation" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="parameter" type="{http://archer.edu.au/schemas/icat}SampleParameter" maxOccurs="unbounded" minOccurs="0"/>
         <element name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <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.String chemicalFormula
           
protected  java.lang.Integer createId
           
protected  java.util.Calendar createTime
           
protected  boolean deleted
           
protected  java.lang.Integer id
           
protected  java.lang.String instance
           
protected  java.lang.Integer investigationID
           
protected  java.lang.Integer modifyId
           
protected  java.util.Calendar modifyTime
           
protected  java.lang.String name
           
protected  java.util.List<SampleParameter> parameter
           
protected  java.lang.Integer proposalSampleID
           
protected  java.lang.String safetyInformation
           
 
Constructor Summary
Sample()
           
 
Method Summary
 void addParameter(SampleParameter child)
           
 void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)
          This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 java.lang.String getChemicalFormula()
          Gets the value of the chemicalFormula property.
 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.lang.String getInstance()
          Gets the value of the instance property.
 Investigation getInvestigation()
           
 java.lang.Integer getInvestigationID()
          Gets the value of the investigationID 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.util.List<SampleParameter> getParameter()
          Gets the value of the parameter property.
 java.lang.Integer getProposalSampleID()
          Gets the value of the proposalSampleID property.
 java.lang.String getSafetyInformation()
          Gets the value of the safetyInformation property.
 boolean isDeleted()
          Gets the value of the deleted property.
 boolean isSetChemicalFormula()
           
 boolean isSetCreateId()
           
 boolean isSetCreateTime()
           
 boolean isSetDeleted()
           
 boolean isSetId()
           
 boolean isSetInstance()
           
 boolean isSetInvestigationID()
           
 boolean isSetModifyId()
           
 boolean isSetModifyTime()
           
 boolean isSetName()
           
 boolean isSetParameter()
           
 boolean isSetProposalSampleID()
           
 boolean isSetSafetyInformation()
           
 void setChemicalFormula(java.lang.String value)
          Sets the value of the chemicalFormula property.
 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 setInstance(java.lang.String value)
          Sets the value of the instance property.
 void setInvestigation(Investigation investigation)
           
 void setInvestigationID(java.lang.Integer value)
          Sets the value of the investigationID 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 setParameter(java.util.List<SampleParameter> parameter)
           
 void setProposalSampleID(java.lang.Integer value)
          Sets the value of the proposalSampleID property.
 void setSafetyInformation(java.lang.String value)
          Sets the value of the safetyInformation property.
 void unsetParameter()
           
 
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

investigationID

protected java.lang.Integer investigationID

name

protected java.lang.String name

instance

protected java.lang.String instance

chemicalFormula

protected java.lang.String chemicalFormula

proposalSampleID

protected java.lang.Integer proposalSampleID

safetyInformation

protected java.lang.String safetyInformation

parameter

protected java.util.List<SampleParameter> parameter

deleted

protected boolean deleted

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

Sample

public Sample()
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()

getInvestigationID

public java.lang.Integer getInvestigationID()
Gets the value of the investigationID property.

Returns:
possible object is String

setInvestigationID

public void setInvestigationID(java.lang.Integer value)
Sets the value of the investigationID property.

Parameters:
value - allowed object is String

isSetInvestigationID

public boolean isSetInvestigationID()

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()

getInstance

public java.lang.String getInstance()
Gets the value of the instance property.

Returns:
possible object is String

setInstance

public void setInstance(java.lang.String value)
Sets the value of the instance property.

Parameters:
value - allowed object is String

isSetInstance

public boolean isSetInstance()

getChemicalFormula

public java.lang.String getChemicalFormula()
Gets the value of the chemicalFormula property.

Returns:
possible object is String

setChemicalFormula

public void setChemicalFormula(java.lang.String value)
Sets the value of the chemicalFormula property.

Parameters:
value - allowed object is String

isSetChemicalFormula

public boolean isSetChemicalFormula()

getProposalSampleID

public java.lang.Integer getProposalSampleID()
Gets the value of the proposalSampleID property.

Returns:
possible object is String

setProposalSampleID

public void setProposalSampleID(java.lang.Integer value)
Sets the value of the proposalSampleID property.

Parameters:
value - allowed object is String

isSetProposalSampleID

public boolean isSetProposalSampleID()

getSafetyInformation

public java.lang.String getSafetyInformation()
Gets the value of the safetyInformation property.

Returns:
possible object is String

setSafetyInformation

public void setSafetyInformation(java.lang.String value)
Sets the value of the safetyInformation property.

Parameters:
value - allowed object is String

isSetSafetyInformation

public boolean isSetSafetyInformation()

getParameter

public java.util.List<SampleParameter> getParameter()
Gets the value of the parameter 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 parameter property.

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

    getParameter().add(newItem);
 

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


setParameter

public void setParameter(java.util.List<SampleParameter> parameter)

isSetParameter

public boolean isSetParameter()

unsetParameter

public void unsetParameter()

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()

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()

getInvestigation

public Investigation getInvestigation()

setInvestigation

public void setInvestigation(Investigation investigation)

addParameter

public void addParameter(SampleParameter child)

afterUnmarshal

public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
                           java.lang.Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
unmarshaller - The unmarshaller that generated the instance.
parent - The parent object in the object tree.

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.