Package com.axelor.meta.db
Class MetaFile
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.meta.db.MetaFile
-
@Entity public class MetaFile extends AuditableModel
This object stores the files.
-
-
Constructor Summary
Constructors Constructor Description MetaFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
computeSizeText()
boolean
equals(Object obj)
String
getDescription()
String
getFileName()
String
getFilePath()
Long
getFileSize()
String
getFileType()
Long
getId()
String
getSizeText()
int
hashCode()
void
setDescription(String description)
void
setFileName(String fileName)
void
setFilePath(String filePath)
void
setFileSize(Long fileSize)
void
setFileType(String fileType)
void
setId(Long id)
void
setSizeText(String sizeText)
String
toString()
-
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
-
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
-
-
-
Method Detail
-
getFileName
public String getFileName()
-
setFileName
public void setFileName(String fileName)
-
getFilePath
public String getFilePath()
-
setFilePath
public void setFilePath(String filePath)
-
getFileSize
public Long getFileSize()
-
setFileSize
public void setFileSize(Long fileSize)
-
getFileType
public String getFileType()
-
setFileType
public void setFileType(String fileType)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getSizeText
public String getSizeText()
-
computeSizeText
protected String computeSizeText()
-
setSizeText
public void setSizeText(String sizeText)
-
-