Dépôt officiel du code source de l'ERP OpenConcerto
/trunk/OpenConcerto/src/org/openconcerto/erp/core/edm/Attachment.java |
---|
15,6 → 15,7 |
import org.openconcerto.sql.model.SQLRowValues; |
import java.io.File; |
import java.io.Serializable; |
public class Attachment implements Serializable { |
37,7 → 38,7 |
this.mimeType = rowAttachment.getString("MIMETYPE"); |
this.fileName = rowAttachment.getString("FILENAME"); |
this.fileSize = rowAttachment.getInt("FILESIZE"); |
this.storagePath = rowAttachment.getString("STORAGE_PATH"); |
this.storagePath = rowAttachment.getString("STORAGE_PATH").replace('\\', File.separatorChar); |
this.storageFileName = rowAttachment.getString("STORAGE_FILENAME"); |
this.sourceTable = rowAttachment.getString("SOURCE_TABLE"); |
this.sourceId = rowAttachment.getInt("SOURCE_ID"); |