gov.nih.nci.caarray.common.data.fileupload2
Class FileUploadEntryData

java.lang.Object
  extended by gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
      extended by gov.nih.nci.caarray.common.data.fileupload2.FileUploadEntryData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ArrayDesignFileUploadEntryData, HybridizationFileUploadEntryData, MAGEMLFileUploadEntryData

public class FileUploadEntryData
extends SerializableFileUploadDataBean

Author:
TranP
See Also:
Serialized Form

Field Summary
static java.lang.String DELETION_ERROR
           
static java.lang.String DELETION_SUCCESS
           
static java.lang.String PROCESSING
           
static java.lang.String PROCESSING_ERROR
           
static java.lang.String PROCESSING_SUCCESS
           
static java.lang.String SUBMISSION_ERROR
           
static java.lang.String SUBMISSION_SUCCESS
           
 
Fields inherited from class gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
id_
 
Constructor Summary
FileUploadEntryData(java.lang.String fileName, FileType fileType, java.lang.String originalFileName, java.lang.String validatorCode)
           
 
Method Summary
 java.lang.String getFileName()
           
 FileType getFileType()
          Returns the fileType of this upload file.
 java.lang.String getOriginalFileName()
          Returns the original file name of uploaded file
 java.lang.String getStatus()
          Returns the status of the uploaded file
 java.util.Date getStatusDate()
          Returns the data the status of the uploaded file was set
 java.lang.String getUserId()
          Returns the submitters name for the uploaded file
 java.lang.String getValidatorCode()
          Returns the validatorCode for the uploaded file
 void setFileName(java.lang.String fileName)
           
 void setFileType(FileType fileType)
           
 void setOriginalFileName(java.lang.String originalFileName)
          Sets the original file name for the uploaded file
 void setStatus(java.lang.String status)
          Sets the status of the uploaded file
 void setStatusDate(java.util.Date statusDate)
          Sets the date the status of the uploaded file was set
 void setUserId(java.lang.String userId)
          Sets the sumitters name for the uploaded file
 void setValidatorCode(java.lang.String validatorCode)
          Sets the validatorCode for the uploaded file
 java.lang.String toString()
          Returns the string representation of this object.
 
Methods inherited from class gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SUBMISSION_SUCCESS

public static java.lang.String SUBMISSION_SUCCESS

SUBMISSION_ERROR

public static java.lang.String SUBMISSION_ERROR

PROCESSING

public static java.lang.String PROCESSING

PROCESSING_SUCCESS

public static java.lang.String PROCESSING_SUCCESS

PROCESSING_ERROR

public static java.lang.String PROCESSING_ERROR

DELETION_SUCCESS

public static java.lang.String DELETION_SUCCESS

DELETION_ERROR

public static java.lang.String DELETION_ERROR
Constructor Detail

FileUploadEntryData

public FileUploadEntryData(java.lang.String fileName,
                           FileType fileType,
                           java.lang.String originalFileName,
                           java.lang.String validatorCode)
Method Detail

getFileType

public final FileType getFileType()
Returns the fileType of this upload file. The fileType is an instance of either FileType or HybridizationFileType. In order to tell if a hybridization file is for a derived or measured bioassay, cast the fileType to HybridizationFileType and call the method HybridizationFileType.isDerivedBioAssay().

Returns:
Returns the fileType.

setFileType

public final void setFileType(FileType fileType)
Parameters:
fileType - The fileType to set.

getFileName

public final java.lang.String getFileName()
Returns:
Returns the fileName.

setFileName

public final void setFileName(java.lang.String fileName)
Parameters:
fileName - The fileName to set.

getStatus

public final java.lang.String getStatus()
Returns the status of the uploaded file

Returns:
String status of uploaded file

setStatus

public final void setStatus(java.lang.String status)
Sets the status of the uploaded file

Parameters:
status - String representing the status to set

getStatusDate

public final java.util.Date getStatusDate()
Returns the data the status of the uploaded file was set

Returns:
Returns the statusDate.

setStatusDate

public final void setStatusDate(java.util.Date statusDate)
Sets the date the status of the uploaded file was set

Parameters:
statusDate - The statusDate to set.

getOriginalFileName

public final java.lang.String getOriginalFileName()
Returns the original file name of uploaded file

Returns:
String returns the originalFileName.

setOriginalFileName

public final void setOriginalFileName(java.lang.String originalFileName)
Sets the original file name for the uploaded file

Parameters:
originalFileName - the orignalFileName to set.

getUserId

public final java.lang.String getUserId()
Returns the submitters name for the uploaded file

Returns:
String returns the submitters name as registered in caArray

setUserId

public final void setUserId(java.lang.String userId)
Sets the sumitters name for the uploaded file

Parameters:
userId - String the submitters name as registered in caArray

getValidatorCode

public final java.lang.String getValidatorCode()
Returns the validatorCode for the uploaded file

Returns:
Long returns the validatorCode for the uploaded file.

setValidatorCode

public final void setValidatorCode(java.lang.String validatorCode)
Sets the validatorCode for the uploaded file

Parameters:
validatorCode - the validatorCode for the uploaded file.

toString

public java.lang.String toString()
Returns the string representation of this object.

Overrides:
toString in class SerializableFileUploadDataBean
Returns:
string value of this object