Package pro.taskana.task.internal.models
Class AttachmentSummaryImpl
java.lang.Object
pro.taskana.task.internal.models.AttachmentSummaryImpl
- All Implemented Interfaces:
AttachmentSummary
- Direct Known Subclasses:
AttachmentImpl
The most important fields of the Attachment entity.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ClassificationSummaryprotected Instantprotected Stringprotected Instantprotected ObjectReferenceprotected Instantprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancopy()Duplicates this AttachmentSummary without the id and taskId.booleanReturns the channel on which the Attachment was received.Returns the classificationSummary of the Attachment.Returns the time when the Attachment was created.getId()Returns the id of the Attachment.Returns the time when the Attachment was last modified.Returns the primaryObjectReference of the Attachment.Returns the time when the Attachment was received.Returns the id of the associated Task.inthashCode()voidsetChannel(String channel) voidsetClassificationSummary(ClassificationSummary classificationSummary) voidsetClassificationSummaryImpl(ClassificationSummaryImpl classificationSummary) voidsetCreated(Instant created) voidvoidsetModified(Instant modified) voidsetObjectReference(ObjectReference objectReference) voidsetObjectReferenceImpl(ObjectReferenceImpl objectReferenceImpl) voidsetReceived(Instant received) voidtoString()
-
Field Details
-
id
-
taskId
-
created
-
modified
-
classificationSummary
-
objectReference
-
channel
-
received
-
-
Constructor Details
-
AttachmentSummaryImpl
-
-
Method Details
-
getId
Description copied from interface:AttachmentSummaryReturns the id of the Attachment.- Specified by:
getIdin interfaceAttachmentSummary- Returns:
- attachmentId
-
setId
-
getTaskId
Description copied from interface:AttachmentSummaryReturns the id of the associated Task.- Specified by:
getTaskIdin interfaceAttachmentSummary- Returns:
- taskId
-
setTaskId
-
getCreated
Description copied from interface:AttachmentSummaryReturns the time when the Attachment was created.- Specified by:
getCreatedin interfaceAttachmentSummary- Returns:
- the created Instant
-
setCreated
-
getModified
Description copied from interface:AttachmentSummaryReturns the time when the Attachment was last modified.- Specified by:
getModifiedin interfaceAttachmentSummary- Returns:
- the last modified Instant
-
setModified
-
getObjectReference
Description copied from interface:AttachmentSummaryReturns the primaryObjectReference of the Attachment.- Specified by:
getObjectReferencein interfaceAttachmentSummary- Returns:
- primaryObjectReference of the Attachment
-
setObjectReference
-
getChannel
Description copied from interface:AttachmentSummaryReturns the channel on which the Attachment was received.- Specified by:
getChannelin interfaceAttachmentSummary- Returns:
- the channel
-
setChannel
-
getClassificationSummary
Description copied from interface:AttachmentSummaryReturns the classificationSummary of the Attachment.- Specified by:
getClassificationSummaryin interfaceAttachmentSummary- Returns:
- classificationSummary
-
setClassificationSummary
-
getReceived
Description copied from interface:AttachmentSummaryReturns the time when the Attachment was received.- Specified by:
getReceivedin interfaceAttachmentSummary- Returns:
- the received Instant
-
setReceived
-
copy
Description copied from interface:AttachmentSummaryDuplicates this AttachmentSummary without the id and taskId.- Specified by:
copyin interfaceAttachmentSummary- Returns:
- a copy of this AttachmentSummary
-
getClassificationSummaryImpl
-
setClassificationSummaryImpl
-
getObjectReferenceImpl
-
setObjectReferenceImpl
-
canEqual
-
hashCode
public int hashCode() -
equals
-
toString
-