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

java.lang.Object
  extended by gov.nih.nci.caarray.common.data.fileupload2.CAFileUploadEntryData
All Implemented Interfaces:
java.io.Serializable

public class CAFileUploadEntryData
extends java.lang.Object
implements java.io.Serializable

Author:
TranP
See Also:
Serialized Form

Field Summary
static java.lang.String DELETION_ERROR
           
static java.lang.String DELETION_SUCCESS
           
protected  java.lang.String ojbConcreteClass
           
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
           
 
Constructor Summary
CAFileUploadEntryData()
           
 
Method Summary
 CAArrayDesignFileUploadEntryData getCaArrayDesignFileEntryData()
           
 CAFileUploadHistoryData getCaFileUploadHistoryData()
           
 CAMagemlFileUploadEntryData getCaMagemlFileEntryData()
           
 java.lang.String getFileName()
           
 java.lang.String getFileTypeId()
          Returns the fileType of this upload file.
 long getId()
           
 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 date the status of the uploaded file was set
 java.util.Date getUploadDate()
           
 java.lang.String getUserId()
          Returns the submitters name for the uploaded file
 java.lang.String getValidatorCode()
          Returns the validatorCode for the uploaded file
 void setCaArrayDesignFileEntryData(CAArrayDesignFileUploadEntryData caArrayDesignFileEntryData)
           
 void setCaFileUploadHistoryData(CAFileUploadHistoryData caFileUploadHistoryData)
           
 void setCaMagemlFileEntryData(CAMagemlFileUploadEntryData caMagemlFileEntryData)
           
 void setFileName(java.lang.String fileName)
          Sets the name of the file, not the full path.
 void setFileTypeId(java.lang.String fileTypeId)
           
 void setId(long id)
           
 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 setUploadDate(java.util.Date uploadedDate)
           
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ojbConcreteClass

protected java.lang.String ojbConcreteClass

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

CAFileUploadEntryData

public CAFileUploadEntryData()
Method Detail

getFileTypeId

public final java.lang.String getFileTypeId()
Returns the fileType of this upload file. In order to tell if a this file entry is for a derived bioassay, measured bioassay, ArrayDesign, or MAGEML, call the method getFileCategory() on the returned fileType which returns one of the constants CATEGORY_MEASURED_BIOASSAY, CATEGORY_DERIVED_BIOASSAY, CATEGORY_ARRAY_DESIGN, CATEGORY_MAGEML, or CATEGORY_NON_PARSEABLE accordingly.

Returns:
Returns the fileType.

setFileTypeId

public final void setFileTypeId(java.lang.String fileTypeId)
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)
Sets the name of the file, not the full path. If full path is specified, it will be chopped off.

Parameters:
fileName - The fileName that may contain full path.

getUploadDate

public final java.util.Date getUploadDate()

setUploadDate

public final void setUploadDate(java.util.Date uploadedDate)

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 date the status of the uploaded file was set

Returns:
Returns the statusDate.

getId

public final long getId()
Returns:
Returns the id.

setId

public final void setId(long id)
Parameters:
id - The id to set.

setStatusDate

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

Parameters:
statusDate - The status date 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.

getCaArrayDesignFileEntryData

public CAArrayDesignFileUploadEntryData getCaArrayDesignFileEntryData()

setCaArrayDesignFileEntryData

public void setCaArrayDesignFileEntryData(CAArrayDesignFileUploadEntryData caArrayDesignFileEntryData)

getCaFileUploadHistoryData

public CAFileUploadHistoryData getCaFileUploadHistoryData()

setCaFileUploadHistoryData

public void setCaFileUploadHistoryData(CAFileUploadHistoryData caFileUploadHistoryData)

getCaMagemlFileEntryData

public CAMagemlFileUploadEntryData getCaMagemlFileEntryData()

setCaMagemlFileEntryData

public void setCaMagemlFileEntryData(CAMagemlFileUploadEntryData caMagemlFileEntryData)