gov.nih.nci.caarray.ui.biomaterial
Class SampleDetailForm
java.lang.Object
org.apache.struts.action.ActionForm
gov.nih.nci.caarray.ui.biomaterial.SampleDetailForm
- All Implemented Interfaces:
- java.io.Serializable
public class SampleDetailForm
- extends org.apache.struts.action.ActionForm
- See Also:
- Serialized Form
Fields inherited from class org.apache.struts.action.ActionForm |
multipartRequestHandler, servlet |
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 |
SampleDetailForm
public SampleDetailForm()
getIsEditable
public boolean getIsEditable()
setIsEditable
public void setIsEditable(boolean isEditable)
getMageIdentifier
public java.lang.String getMageIdentifier()
setMageIdentifier
public void setMageIdentifier(java.lang.String mageIdentifier)
getBack
public java.lang.String getBack()
- Returns:
- Returns the back.
setBack
public void setBack(java.lang.String back)
- Parameters:
back
- The back to set.
getCreationDescription
public java.lang.String getCreationDescription()
- Returns:
getDescription
public java.lang.String getDescription()
- Returns:
getId
public long getId()
- Returns:
getParentBiomaterials
public java.util.Collection getParentBiomaterials()
- Returns:
getSampleName
public java.lang.String getSampleName()
- Returns:
- Returns the sampleName.
getSampleType
public long getSampleType()
- Returns:
- Returns the sampleType.
getSampleTypeName
public java.lang.String getSampleTypeName()
- Returns:
getSampleTypes
public java.util.Collection getSampleTypes()
- Returns:
- Returns the sampleTypes.
getSourceBiomaterials
public java.util.Collection getSourceBiomaterials()
- Returns:
- Returns the sourceBiomaterials.
getTreatmentNumber
public int getTreatmentNumber()
- Returns:
- Returns the treatmentNumber.
setCreationDescription
public void setCreationDescription(java.lang.String string)
- Parameters:
string
-
setDescription
public void setDescription(java.lang.String string)
- Parameters:
string
-
setId
public void setId(long l)
- Parameters:
l
-
setParentBiomaterials
public void setParentBiomaterials(java.util.Collection collection)
- Parameters:
collection
-
setSampleName
public void setSampleName(java.lang.String sampleName)
- Parameters:
sampleName
- The sampleName to set.
setSampleType
public void setSampleType(long sampleType)
- Parameters:
sampleType
- The sampleType to set.
setSampleTypeName
public void setSampleTypeName(java.lang.String string)
- Parameters:
string
-
setSampleTypes
public void setSampleTypes(java.util.Collection sampleTypes)
- Parameters:
sampleTypes
- The sampleTypes to set.
setSourceBiomaterials
public void setSourceBiomaterials(java.util.Collection sourceBiomaterials)
- Parameters:
sourceBiomaterials
- The sourceBiomaterials to set.
setTreatmentNumber
public void setTreatmentNumber(int treatmentNumber)
- Parameters:
treatmentNumber
- The treatmentNumber to set.
getBiomaterialCharacteristics
public VocabData[] getBiomaterialCharacteristics()
- Returns:
- Returns the biomaterialCharacteristics.
setBiomaterialCharacteristics
public void setBiomaterialCharacteristics(VocabData[] biomaterialCharacteristics)
- Parameters:
biomaterialCharacteristics
- The biomaterialCharacteristics to set.
getBiomaterialId
public long getBiomaterialId()
- Returns:
- Returns the biomaterialId.
setBiomaterialId
public void setBiomaterialId(long biomaterialId)
- Parameters:
biomaterialId
- The biomaterialId to set.
getTreatmentEvent
public TreatmentData getTreatmentEvent(int index)
- This function allows the passing of the TreatmentEvents from the request
to the form. Because the populateBean method uses reflection, an indexed
getter method for the contents of the collection has to bend the naming
conventions a bit and use the name of the collection instead of the
object. See the following site for better explanation
http://www.laliluna.de/tutorial/struts-dynamic-forms/struts-dynamic-forms-tutorial.html
-D Bauer
- Parameters:
index
- of the desired TreatmentEvent in the Collection
- Returns:
- specified treatmentEvent
getTreatmentEvents
public java.util.ArrayList getTreatmentEvents()
setTreatmentEvents
public void setTreatmentEvents(java.util.Collection treatmentEvents)
getTreatmentAction
public java.lang.String getTreatmentAction()
- Returns:
- Returns the submitAction.
setTreatmentAction
public void setTreatmentAction(java.lang.String submitAction)
- Parameters:
submitAction
- The submitAction to set.
getRequestAction
public java.lang.String getRequestAction()
- Returns:
- Returns the requestAction.
setRequestAction
public void setRequestAction(java.lang.String requestAction)
- Parameters:
requestAction
- The requestAction to set.
getTreatmentAction
public java.lang.String getTreatmentAction(int index)
getIndex
public int getIndex()
getCompoundMData
public CompoundMeasurementData[] getCompoundMData()
- Returns:
setCompoundMData
public void setCompoundMData(CompoundMeasurementData[] compounds)
- Parameters:
datas
-
getTreatmentEventId
public long getTreatmentEventId()
- Returns:
- Returns the treatmentEventId.
setTreatmentEventId
public void setTreatmentEventId(long treatmentEventId)
- Parameters:
treatmentEventId
- The treatmentEventId to set.
getFileId
public long getFileId()
- Returns:
- Returns the fileId.
setFileId
public void setFileId(long fileId)
- Parameters:
fileId
- The fileId 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.
getExpId
public long getExpId()
- Returns:
- Returns the expId.
setExpId
public void setExpId(long expId)
- Parameters:
expId
- The expId to set.
getLabelId
public long getLabelId()
- Returns:
- Returns the labelId.
setLabelId
public void setLabelId(long labelId)
- Parameters:
labelId
- The labelId to set.
getIndividualTreatmentId
public java.lang.String getIndividualTreatmentId()
- Returns:
- Returns the individualTreatmentId.
setIndividualTreatmentId
public void setIndividualTreatmentId(java.lang.String individualTreatmentId)
- Parameters:
individualTreatmentId
- The individualTreatmentId to set.
validate
public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Overrides:
validate
in class org.apache.struts.action.ActionForm
getMode
public java.lang.String getMode()
- Returns:
- Returns the mode.
setMode
public void setMode(java.lang.String mode)
- Parameters:
mode
- The mode to set.