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

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

public class FileUploadHistoryData
extends SerializableFileUploadDataBean

Uploaded file history data bean using CRC32s Title: caArray Description: MicroArray data repository and application Copyright: (c) 2005 NCICB. All rights reserved. Company: NIH/NCICB

Version:
$Revision: 1.1 $, $Date: 2006/07/20 14:26:00 $
Author:
$,
See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
id_
 
Constructor Summary
FileUploadHistoryData(FileUploadEntryData fileUploadEntry, java.lang.String status, java.util.Date statusDate, java.lang.String description)
          Default Constructor
 
Method Summary
 java.lang.String getDescription()
          Returns the description of the specific status change for the uploaded file (can be null)
 FileUploadEntryData getFileUploadEntry()
          Returns the id for the FileUploadEntry record associated with this history record, foreign key.
 java.lang.String getStatus()
          Returns the status of the uploaded file for which this history record pertains.
 java.util.Date getStatusDate()
          Returns the date the status of the uploaded file history was set
 void setDescription(java.lang.String description)
          Sets the description of the specific status change for the uploaded file (can be null)
 void setFileUploadEntry(FileUploadEntryData fileUploadEntry)
          Sets the id for the FileUploadEntry record associated with this history record, foreigh key.
 void setStatus(java.lang.String status)
          Sets the status of the uploaded file for which this history record pertains.
 void setStatusDate(java.util.Date statusDate)
          Sets the date the status of the uploaded file history was set
 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
 

Constructor Detail

FileUploadHistoryData

public FileUploadHistoryData(FileUploadEntryData fileUploadEntry,
                             java.lang.String status,
                             java.util.Date statusDate,
                             java.lang.String description)
Default Constructor

Method Detail

getDescription

public java.lang.String getDescription()
Returns the description of the specific status change for the uploaded file (can be null)

Returns:
String description of status change i.e. on error the error message would be persisted here

setDescription

public void setDescription(java.lang.String description)
Sets the description of the specific status change for the uploaded file (can be null)

Parameters:
description_ - String describing the status change i.e. on error the error message would be persisted here

getFileUploadEntry

public FileUploadEntryData getFileUploadEntry()
Returns the id for the FileUploadEntry record associated with this history record, foreign key.

Returns:
Long id foreign key to FileUploadEntry record asscoiated with this history record

setFileUploadEntry

public void setFileUploadEntry(FileUploadEntryData fileUploadEntry)
Sets the id for the FileUploadEntry record associated with this history record, foreigh key.

Parameters:
fileUploadEntry_ - Long id foriegn key to FileUploadEntry record.

getStatus

public java.lang.String getStatus()
Returns the status of the uploaded file for which this history record pertains.

Returns:
String status of uploaded file

setStatus

public void setStatus(java.lang.String status)
Sets the status of the uploaded file for which this history record pertains.

Parameters:
status - String representing the status to set

getStatusDate

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

Returns:
Returns the statusDate.

setStatusDate

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

Parameters:
statusDate - The status date to set.

toString

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

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