gov.nih.nci.caarray.services.fileupload2
Class CAFileUploadEntry

java.lang.Object
  extended by gov.nih.nci.caarray.services.fileupload2.CAFileUploadEntry
All Implemented Interfaces:
java.io.Serializable

public class CAFileUploadEntry
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
CAFileUploadEntry()
           
 
Method Summary
 void copyFromData(CAFileUploadEntryData data)
           
 CAArrayDesignFileUploadEntry getCaArrayDesignFileEntry()
           
 CAFileUploadHistory getCaFileUploadHistory()
           
 CAMagemlFileUploadEntry getCaMagemlFileEntry()
           
 java.lang.String getFileName()
           
 java.lang.String getFileTypeId()
          Returns the fileType of this upload file.
 java.lang.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.lang.String getUserId()
          Returns the submitters name for the uploaded file
 java.lang.String getValidatorCode()
          Returns the validatorCode for the uploaded file
 void setCaArrayDesignFileEntry(CAArrayDesignFileUploadEntry caArrayDesignFileEntry)
           
 void setCaFileUploadHistory(CAFileUploadHistory caFileUploadHistory)
           
 void setCaMagemlFileEntry(CAMagemlFileUploadEntry caMagemlFileEntry)
           
 void setFileName(java.lang.String fileName)
          Sets the name of the file, not the full path.
 void setFileTypeId(java.lang.String fileTypeId)
           
 void setId(java.lang.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 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

CAFileUploadEntry

public CAFileUploadEntry()
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.

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 java.lang.Long getId()
Returns:
Returns the id.

setId

public final void setId(java.lang.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.

getCaArrayDesignFileEntry

public CAArrayDesignFileUploadEntry getCaArrayDesignFileEntry()

setCaArrayDesignFileEntry

public void setCaArrayDesignFileEntry(CAArrayDesignFileUploadEntry caArrayDesignFileEntry)

getCaFileUploadHistory

public CAFileUploadHistory getCaFileUploadHistory()

setCaFileUploadHistory

public void setCaFileUploadHistory(CAFileUploadHistory caFileUploadHistory)

getCaMagemlFileEntry

public CAMagemlFileUploadEntry getCaMagemlFileEntry()

setCaMagemlFileEntry

public void setCaMagemlFileEntry(CAMagemlFileUploadEntry caMagemlFileEntry)

copyFromData

public void copyFromData(CAFileUploadEntryData data)