Package es.gob.afirma.mreport.items
Class FileAttachment
- java.lang.Object
-
- es.gob.afirma.mreport.items.FileAttachment
-
public class FileAttachment extends java.lang.ObjectClass that contains an attachment for including into PDF file.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 19/08/2020.
-
-
Constructor Summary
Constructors Constructor Description FileAttachment(java.lang.String attName, java.lang.String attDescription)Constructor method for the class FileAttachment.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()Gets the value of the attachment content.java.lang.StringgetDescription()Gets the value of the attachment description.java.lang.StringgetName()Gets the value of the attachment name.voidsetContent(byte[] attContent)Sets the value of the attachment content.voidsetDescription(java.lang.String attDescription)Sets the value of the attachment description.voidsetName(java.lang.String attName)Sets the value of the attachment name.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the attachment name.- Returns:
- the value of the attachment name.
-
setName
public void setName(java.lang.String attName)
Sets the value of the attachment name.- Parameters:
attName- The value for the attachment name.
-
getDescription
public java.lang.String getDescription()
Gets the value of the attachment description.- Returns:
- the value of the attachment description.
-
setDescription
public void setDescription(java.lang.String attDescription)
Sets the value of the attachment description.- Parameters:
attDescription- The value for the attachment description.
-
getContent
public byte[] getContent()
Gets the value of the attachment content.- Returns:
- the value of the attachment content.
-
setContent
public void setContent(byte[] attContent)
Sets the value of the attachment content.- Parameters:
attContent- The value for the attachment content.
-
-