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

java.lang.Object
  extended by gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
      extended by gov.nih.nci.caarray.common.data.fileupload2.FileUploadGroupData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ArrayDesignFileUploadGroupData, HybridizationFileUploadGroupData

public abstract class FileUploadGroupData
extends SerializableFileUploadDataBean

Author:
TranP
See Also:
Serialized Form

Field Summary
protected  java.util.ArrayList acceptableFileTypes_
           
 
Fields inherited from class gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
id_
 
Constructor Summary
FileUploadGroupData(FileType[] acceptableFileTypes)
          Constructs an instance of this class with an array of FileTypes which can be accepted for the files to be uploaded.
 
Method Summary
 FileType findFileTypeOther()
          Finds fileType that has category=CATEGORY_OTHER.
 java.util.Date getParsingEndDate()
           
 java.util.Date getParsingStartDate()
           
 java.lang.String getParsingSucceeded()
          Returns the status of the parsing
 FileType guessFileType(java.lang.String fileName)
           
 void setParsingEndDate(java.util.Date parsingEndDate)
           
 void setParsingStartDate(java.util.Date parsingStartDate)
           
 void setParsingSucceeded(java.lang.String parsingSucceeded)
           
 
Methods inherited from class gov.nih.nci.caarray.common.data.fileupload2.SerializableFileUploadDataBean
getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

acceptableFileTypes_

protected java.util.ArrayList acceptableFileTypes_
Constructor Detail

FileUploadGroupData

public FileUploadGroupData(FileType[] acceptableFileTypes)
Constructs an instance of this class with an array of FileTypes which can be accepted for the files to be uploaded.

Parameters:
acceptableFileTypes - - The array of acceptable FileTypes
Throws:
java.lang.IllegalArgumentException - - When the acceptableFileTypes argument is null or empty.
Method Detail

getParsingStartDate

public final java.util.Date getParsingStartDate()
Returns:
Returns the parsingStartDate.

setParsingStartDate

public final void setParsingStartDate(java.util.Date parsingStartDate)
Parameters:
parsingStartDate - The parsingStartDate to set.

getParsingEndDate

public final java.util.Date getParsingEndDate()
Returns:
Returns the parsingEndDate.

setParsingEndDate

public final void setParsingEndDate(java.util.Date parsingEndDate)
Parameters:
parsingEndDate - The parsingEndDate to set.

getParsingSucceeded

public final java.lang.String getParsingSucceeded()
Returns the status of the parsing

Returns:
String status of parsing

setParsingSucceeded

public final void setParsingSucceeded(java.lang.String parsingSucceeded)
Parameters:
parsingSucceeded - The parsingSucceeded to set.

guessFileType

public FileType guessFileType(java.lang.String fileName)

findFileTypeOther

public FileType findFileTypeOther()
Finds fileType that has category=CATEGORY_OTHER.

Returns: