gov.nih.nci.caarray.ui.biomaterial
Class SampleUpdateForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by gov.nih.nci.caarray.ui.biomaterial.SampleUpdateForm
All Implemented Interfaces:
java.io.Serializable

public class SampleUpdateForm
extends org.apache.struts.action.ActionForm

See Also:
Serialized Form

Field Summary
static java.util.Collection biomaterials
           
static java.util.Collection materialTypes
           
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
SampleUpdateForm()
           
 
Method Summary
 VocabData[] getBiomaterialCharacteristics()
           
 long getBiomaterialId()
           
 java.util.Collection getBiomaterials()
           
 java.lang.String getCreationDescription()
           
 java.lang.String getDescription()
           
 long getExpId()
           
 long getFileId()
           
 long getLabelId()
           
 java.util.Collection getMaterialTypes()
           
 java.util.Collection getMeasurementUnits()
           
 java.util.Collection getMeasurementUnitTypes()
           
 java.lang.String getMode()
           
 java.util.Collection getParentBiomaterials()
           
 java.lang.String getReason()
           
 long getResultingBiomaterialTypeId()
           
 java.lang.String getResultingBiomaterialTypeName()
           
 java.lang.String getResultingName()
           
 java.util.Collection getSelectedVisibilities()
           
 long getSourceBiomaterialId()
           
 java.lang.String getSourceBiomaterialName()
           
 java.lang.String getTreatmentAction()
           
 java.util.ArrayList getTreatmentEvents()
           
 TreatmentEvent[] getTreatments()
           
 java.util.Collection getTreatmentTypes()
           
 void setBiomaterialCharacteristics(VocabData[] biomaterialCharacteristics)
           
 void setBiomaterialId(long biomaterialId)
           
 void setBiomaterials(java.util.Collection collection)
           
 void setCreationDescription(java.lang.String string)
           
 void setDescription(java.lang.String string)
           
 void setExpId(long expId)
           
 void setFileId(long fileId)
           
 void setLabelId(long labelId)
           
 void setMaterialTypes(java.util.Collection collection)
           
 void setMeasurementUnits(java.util.Collection measurementUnits)
           
 void setMeasurementUnitTypes(java.util.Collection measurementUnitTypes)
           
 void setMode(java.lang.String mode)
           
 void setParentBiomaterials(java.util.Collection parentBiomaterials)
           
 void setReason(java.lang.String reason)
           
 void setResultingBiomaterialTypeId(long resultingBiomaterialTypeId)
           
 void setResultingBiomaterialTypeName(java.lang.String resultingMaterialTypeName)
           
 void setResultingName(java.lang.String string)
           
 void setSelectedVisibilities(java.util.Collection collection)
           
 void setSourceBiomaterialId(long selectedBiomaterial)
           
 void setSourceBiomaterialName(java.lang.String selectedBiomaterialName)
           
 void setTreatmentAction(java.lang.String treatmentAction)
           
 void setTreatmentEvents(java.util.ArrayList treatmentEvents)
           
 void setTreatments(TreatmentEvent[] treatments)
           
 void setTreatmentTypes(java.util.Collection treatmentTypes)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          This validation method checks the required fields for a new Treatment submission or update
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

biomaterials

public static java.util.Collection biomaterials

materialTypes

public static java.util.Collection materialTypes
Constructor Detail

SampleUpdateForm

public SampleUpdateForm()
Method Detail

getMaterialTypes

public java.util.Collection getMaterialTypes()
Returns:

getResultingName

public java.lang.String getResultingName()
Returns:

setMaterialTypes

public void setMaterialTypes(java.util.Collection collection)
Parameters:
collection -

setResultingName

public void setResultingName(java.lang.String string)
Parameters:
string -

getBiomaterials

public java.util.Collection getBiomaterials()
Returns:

setBiomaterials

public void setBiomaterials(java.util.Collection collection)
Parameters:
collection -

getMode

public java.lang.String getMode()
Returns:
Returns the mode.

setMode

public void setMode(java.lang.String mode)
Parameters:
mode - The mode to set.

getTreatmentAction

public java.lang.String getTreatmentAction()
Returns:
Returns the treatmentAction.

setTreatmentAction

public void setTreatmentAction(java.lang.String treatmentAction)
Parameters:
treatmentAction - The treatmentAction to set.

getResultingBiomaterialTypeName

public java.lang.String getResultingBiomaterialTypeName()
Returns:
Returns the resultingMaterialTypeName.

setResultingBiomaterialTypeName

public void setResultingBiomaterialTypeName(java.lang.String resultingMaterialTypeName)
Parameters:
resultingMaterialTypeName - The resultingMaterialTypeName to set.

getSourceBiomaterialId

public long getSourceBiomaterialId()
Returns:
Returns the sourceBiomaterialId.

setSourceBiomaterialId

public void setSourceBiomaterialId(long selectedBiomaterial)
Parameters:
sourceBiomaterialId - The sourceBiomaterialId to set.

getSourceBiomaterialName

public java.lang.String getSourceBiomaterialName()
Returns:
Returns the sourceBiomaterialName.

setSourceBiomaterialName

public void setSourceBiomaterialName(java.lang.String selectedBiomaterialName)
Parameters:
sourceBiomaterialName - The sourceBiomaterialName to set.

getMeasurementUnits

public java.util.Collection getMeasurementUnits()
Returns:
Returns the measurementUnits.

setMeasurementUnits

public void setMeasurementUnits(java.util.Collection measurementUnits)
Parameters:
measurementUnits - The measurementUnits to set.

getMeasurementUnitTypes

public java.util.Collection getMeasurementUnitTypes()
Returns:
Returns the measurementUnitTypes.

setMeasurementUnitTypes

public void setMeasurementUnitTypes(java.util.Collection measurementUnitTypes)
Parameters:
measurementUnitTypes - The measurementUnitTypes to set.

getTreatments

public TreatmentEvent[] getTreatments()
Returns:
Returns the treatments.

setTreatments

public void setTreatments(TreatmentEvent[] treatments)
Parameters:
treatments - The treatments to set.

getTreatmentTypes

public java.util.Collection getTreatmentTypes()
Returns:
Returns the treatmentTypes.

setTreatmentTypes

public void setTreatmentTypes(java.util.Collection treatmentTypes)
Parameters:
treatmentTypes - The treatmentTypes to set.

getDescription

public java.lang.String getDescription()
Returns:

setDescription

public void setDescription(java.lang.String string)
Parameters:
string -

getSelectedVisibilities

public java.util.Collection getSelectedVisibilities()
Returns:

setSelectedVisibilities

public void setSelectedVisibilities(java.util.Collection collection)
Parameters:
collection -

getCreationDescription

public java.lang.String getCreationDescription()
Returns:

setCreationDescription

public void setCreationDescription(java.lang.String string)
Parameters:
string -

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
This validation method checks the required fields for a new Treatment submission or update

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping -
request -
Returns:

getTreatmentEvents

public java.util.ArrayList getTreatmentEvents()
Returns:
Returns the treatmentEvents.

setTreatmentEvents

public void setTreatmentEvents(java.util.ArrayList treatmentEvents)
Parameters:
treatmentEvents - The treatmentEvents to set.

getResultingBiomaterialTypeId

public long getResultingBiomaterialTypeId()
Returns:
Returns the resultingBiomaterialTypeId.

setResultingBiomaterialTypeId

public void setResultingBiomaterialTypeId(long resultingBiomaterialTypeId)
Parameters:
resultingBiomaterialTypeId - The resultingBiomaterialTypeId to set.

getBiomaterialId

public long getBiomaterialId()
Returns:
Returns the biomaterialId.

setBiomaterialId

public void setBiomaterialId(long biomaterialId)
Parameters:
biomaterialId - The biomaterialId to set.

getBiomaterialCharacteristics

public VocabData[] getBiomaterialCharacteristics()
Returns:
Returns the biomaterialCharacteristics.

setBiomaterialCharacteristics

public void setBiomaterialCharacteristics(VocabData[] biomaterialCharacteristics)
Parameters:
biomaterialCharacteristics - The biomaterialCharacteristics to set.

getParentBiomaterials

public java.util.Collection getParentBiomaterials()
Returns:
Returns the parentBiomaterials.

setParentBiomaterials

public void setParentBiomaterials(java.util.Collection parentBiomaterials)
Parameters:
parentBiomaterials - The parentBiomaterials to set.

getFileId

public long getFileId()
Returns:
Returns the fileId.

setFileId

public void setFileId(long fileId)
Parameters:
fileId - The fileId to set.

getExpId

public long getExpId()
Returns:
Returns the expId.

setExpId

public void setExpId(long expId)
Parameters:
expId - The expId to set.

getReason

public java.lang.String getReason()
Returns:
Returns the reason.

setReason

public void setReason(java.lang.String reason)
Parameters:
reason - The reason to set.

getLabelId

public long getLabelId()
Returns:
Returns the labelId.

setLabelId

public void setLabelId(long labelId)
Parameters:
labelId - The labelId to set.