public class File extends Object implements Serializable
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
getDateCreation() |
String |
getExtension() |
int |
getIdFile() |
String |
getMimeType() |
PhysicalFile |
getPhysicalFile() |
int |
getSize() |
String |
getTitle() |
void |
setDateCreation(Timestamp dateCreation)
set the creation date of the file
|
void |
setExtension(String extension)
set the extension of the file
|
void |
setIdFile(int idFile)
set the id of the file
|
void |
setMimeType(String mimeType)
set the mime type of the file
|
void |
setPhysicalFile(PhysicalFile file)
set the PhysicalFile associate to the file
|
void |
setSize(int size)
set the size of the file
|
void |
setTitle(String title)
set the title of the file
|
public int getIdFile()
public void setIdFile(int idFile)
idFile
- id of the filepublic String getTitle()
public void setTitle(String title)
title
- the title of the filepublic int getSize()
public void setSize(int size)
size
- the size of the filepublic String getExtension()
public void setExtension(String extension)
extension
- the title of the filepublic String getMimeType()
public void setMimeType(String mimeType)
mimeType
- the mime type of the filepublic PhysicalFile getPhysicalFile()
public void setPhysicalFile(PhysicalFile file)
file
- PhysicalFilepublic Timestamp getDateCreation()
public void setDateCreation(Timestamp dateCreation)
dateCreation
- the creation date of the fileCopyright © 2020 City of Paris. All rights reserved.