gov.nih.nci.caarray.ui.experiment.data
Class HttpUploadedFileData

java.lang.Object
  extended by gov.nih.nci.caarray.ui.experiment.data.HttpUploadedFileData
All Implemented Interfaces:
java.io.Serializable

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

A simple java bean class to store meta data about the uploaded file received from the applet.

See Also:
Serialized Form

Constructor Summary
HttpUploadedFileData()
          Default constructor.
 
Method Summary
 java.lang.String getFileExtension()
           
 java.lang.String getFileName()
           
 java.lang.String getFilePath()
           
 java.lang.String getId()
           
 java.lang.String getOriginalFileName()
          Returns the original file name for the uploaded file
 java.lang.String getType()
           
 java.lang.String getUserId()
           
 java.lang.String getValidatorCode()
          Returns the CRC32 validatorCode for the uploaded file
 void setFileExtension(java.lang.String filename)
           
 void setFileName(java.lang.String fileName)
           
 void setFilePath(java.lang.String filePath)
           
 void setId(java.lang.String id)
           
 void setOriginalFileName(java.lang.String originalFileName)
          Sets the original file name for the uplaoded file
 void setType(java.lang.String type)
           
 void setUserId(java.lang.String userId)
           
 void setValidatorCode(java.lang.String validatorCode)
          Sets the CRC32 validatorCode for the uplaoded file
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpUploadedFileData

public HttpUploadedFileData()
Default constructor.

Method Detail

getUserId

public java.lang.String getUserId()
Returns:
Returns the userId.

setUserId

public void setUserId(java.lang.String userId)
Parameters:
userId - The userId to set.

getFileName

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

setFileName

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

getFilePath

public java.lang.String getFilePath()
Returns:
Returns the filePath.

setFilePath

public void setFilePath(java.lang.String filePath)
Parameters:
filePath - The filePath to set.

getType

public java.lang.String getType()
Returns:
Returns the type.

setType

public void setType(java.lang.String type)
Parameters:
type - The type to set.

getId

public java.lang.String getId()
Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Parameters:
id - The id to set.

setFileExtension

public void setFileExtension(java.lang.String filename)
Parameters:
filename - The filename from which to extract file extension.

getFileExtension

public java.lang.String getFileExtension()
Returns:
Returns the fileExtension.

getOriginalFileName

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

Returns:
String the original file name for the uploaded file.

setOriginalFileName

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

Parameters:
originalFileName - String representing the original file name for the uplaoded file.

getValidatorCode

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

Returns:
String the CRC32 for the uploaded file.

setValidatorCode

public void setValidatorCode(java.lang.String validatorCode)
Sets the CRC32 validatorCode for the uplaoded file

Parameters:
validatorCode - String representing the CRC32 for the uplaoded file.