Package pro.taskana.task.api.models
Interface AttachmentSummary
-
- All Known Subinterfaces:
Attachment
- All Known Implementing Classes:
AttachmentImpl,AttachmentSummaryImpl
public interface AttachmentSummaryInterface for AttachmentSummaries. This is a specific short model-object which only contains the most important information.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachmentSummarycopy()Duplicates this AttachmentSummary without the id and taskId.StringgetChannel()Returns the channel on which the Attachment was received.ClassificationSummarygetClassificationSummary()Returns the classificationSummary of the Attachment.InstantgetCreated()Returns the time when the Attachment was created.StringgetId()Returns the id of the Attachment.InstantgetModified()Returns the time when the Attachment was last modified.ObjectReferencegetObjectReference()Returns the primaryObjectReference of the Attachment.InstantgetReceived()Returns the time when the Attachment was received.StringgetTaskId()Returns the id of the associated Task.
-
-
-
Method Detail
-
getId
String getId()
Returns the id of the Attachment.- Returns:
- attachmentId
-
getCreated
Instant getCreated()
Returns the time when the Attachment was created.- Returns:
- the created Instant
-
getModified
Instant getModified()
Returns the time when the Attachment was last modified.- Returns:
- the last modified Instant
-
getObjectReference
ObjectReference getObjectReference()
Returns the primaryObjectReference of the Attachment.- Returns:
- primaryObjectReference of the Attachment
-
getChannel
String getChannel()
Returns the channel on which the Attachment was received.- Returns:
- the channel
-
getClassificationSummary
ClassificationSummary getClassificationSummary()
Returns the classificationSummary of the Attachment.- Returns:
- classificationSummary
-
getReceived
Instant getReceived()
Returns the time when the Attachment was received.- Returns:
- the received Instant
-
copy
AttachmentSummary copy()
Duplicates this AttachmentSummary without the id and taskId.- Returns:
- a copy of this AttachmentSummary
-
-