gov.nih.nci.caarray.common.data.fileupload2
Class FileTypeMap
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileTypeMap
public FileTypeMap()
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()