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

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

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

This class provides the mappings for fileTypeId to the FileType object which contains further information about the file type. Furthermore, it ensures the mapped FileType object contains the fileTypeId it is mapped to.

Author:
TranP
See Also:
Serialized Form

Constructor Summary
FileTypeMap()
           
 
Method Summary
 FileType[] getAllFileTypes()
           
 FileType getFileType(java.lang.String fileTypeId)
           
 java.util.LinkedHashMap getFileTypeMappings()
           
 void setFileTypeMappings(java.util.LinkedHashMap fileTypeMappings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTypeMap

public FileTypeMap()
Method Detail

getFileTypeMappings

public java.util.LinkedHashMap getFileTypeMappings()

setFileTypeMappings

public void setFileTypeMappings(java.util.LinkedHashMap fileTypeMappings)

getFileType

public FileType getFileType(java.lang.String fileTypeId)

getAllFileTypes

public FileType[] getAllFileTypes()