Class ResolvedAttachment
- java.lang.Object
-
- de.xima.fc.workflow.processor.model.ResolvedAttachment
-
- All Implemented Interfaces:
IResolvedAttachment
,Serializable
public final class ResolvedAttachment extends Object implements IResolvedAttachment, Serializable
Default POJO implementation ofIResolvedAttachment
.- Since:
- 8.1.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResolvedAttachment(Attachment attachment, IResolvedAttachmentSourceDetails sourceDetails)
Creates a new POJO with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Attachment
getAttachment()
IResolvedAttachmentSourceDetails
getSourceDetails()
String
toString()
-
-
-
Constructor Detail
-
ResolvedAttachment
public ResolvedAttachment(Attachment attachment, IResolvedAttachmentSourceDetails sourceDetails)
Creates a new POJO with the given data.- Parameters:
attachment
- Value returned bygetAttachment()
.sourceDetails
- Value returned bygetSourceDetails()
.
-
-
Method Detail
-
getAttachment
public Attachment getAttachment()
- Specified by:
getAttachment
in interfaceIResolvedAttachment
- Returns:
- The resolved form record attachment.
-
getSourceDetails
public IResolvedAttachmentSourceDetails getSourceDetails()
- Specified by:
getSourceDetails
in interfaceIResolvedAttachment
- Returns:
- Details regarding where the attachment originated from, e.g. whether it is an attachment from a previous node, an attachment from an upload element etc.
-
-