Package de.aeb.xnsg.ftmc.bf
Class FTMCMaterialAttachmentDTO
java.lang.Object
de.aeb.xnsg.ftmc.bf.FTMCMaterialAttachmentDTO
DTO to hold data of a material attachment
-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]The actual data of the attachment.A description of the attachment.Encoding of the attachment.Date at which the attachment was last changed.Name or path to the file.The number of the material the attachment should be associated with.MIME type of the attachment -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
materialNumber
The number of the material the attachment should be associated with.
length=50
-
attachmentDescription
A description of the attachment.
length=1000
-
attachmentData
public byte[] attachmentDataThe actual data of the attachment. If not set, the 'fileName' will be treated like an URL.
-
fileName
Name or path to the file. A path can be an URL to a reachable server file or an URL.
length=250
-
fileDate
Date at which the attachment was last changed.
-
encoding
Encoding of the attachment. Needed when attachment is a text document.
length=50
-
mimeType
MIME type of the attachment
length=50
-
-
Constructor Details
-
FTMCMaterialAttachmentDTO
public FTMCMaterialAttachmentDTO()
-