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
public class AttachmentSummaryImpl extends Object implements AttachmentSummary
The most important fields of the Attachment entity.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringchannelprotected ClassificationSummaryclassificationSummaryprotected Instantcreatedprotected Stringidprotected Instantmodifiedprotected ObjectReferenceobjectReferenceprotected Instantreceivedprotected StringtaskId
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttachmentSummaryImpl(AttachmentSummaryImpl copyFrom)
-
Method Summary
-
-
-
Field Detail
-
id
protected String id
-
taskId
protected String taskId
-
created
protected Instant created
-
modified
protected Instant modified
-
classificationSummary
protected ClassificationSummary classificationSummary
-
objectReference
protected ObjectReference objectReference
-
channel
protected String channel
-
received
protected Instant received
-
-
Constructor Detail
-
AttachmentSummaryImpl
protected AttachmentSummaryImpl(AttachmentSummaryImpl copyFrom)
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:AttachmentSummaryReturns the id of the Attachment.- Specified by:
getIdin interfaceAttachmentSummary- Returns:
- attachmentId
-
setId
public void setId(String id)
-
getTaskId
public String getTaskId()
Description copied from interface:AttachmentSummaryReturns the id of the associated Task.- Specified by:
getTaskIdin interfaceAttachmentSummary- Returns:
- taskId
-
setTaskId
public void setTaskId(String taskId)
-
getCreated
public Instant getCreated()
Description copied from interface:AttachmentSummaryReturns the time when the Attachment was created.- Specified by:
getCreatedin interfaceAttachmentSummary- Returns:
- the created Instant
-
setCreated
public void setCreated(Instant created)
-
getModified
public Instant getModified()
Description copied from interface:AttachmentSummaryReturns the time when the Attachment was last modified.- Specified by:
getModifiedin interfaceAttachmentSummary- Returns:
- the last modified Instant
-
setModified
public void setModified(Instant modified)
-
getObjectReference
public ObjectReference getObjectReference()
Description copied from interface:AttachmentSummaryReturns the primaryObjectReference of the Attachment.- Specified by:
getObjectReferencein interfaceAttachmentSummary- Returns:
- primaryObjectReference of the Attachment
-
setObjectReference
public void setObjectReference(ObjectReference objectReference)
-
getChannel
public String getChannel()
Description copied from interface:AttachmentSummaryReturns the channel on which the Attachment was received.- Specified by:
getChannelin interfaceAttachmentSummary- Returns:
- the channel
-
setChannel
public void setChannel(String channel)
-
getClassificationSummary
public ClassificationSummary getClassificationSummary()
Description copied from interface:AttachmentSummaryReturns the classificationSummary of the Attachment.- Specified by:
getClassificationSummaryin interfaceAttachmentSummary- Returns:
- classificationSummary
-
setClassificationSummary
public void setClassificationSummary(ClassificationSummary classificationSummary)
-
getReceived
public Instant getReceived()
Description copied from interface:AttachmentSummaryReturns the time when the Attachment was received.- Specified by:
getReceivedin interfaceAttachmentSummary- Returns:
- the received Instant
-
setReceived
public void setReceived(Instant received)
-
copy
public AttachmentSummaryImpl copy()
Description copied from interface:AttachmentSummaryDuplicates this AttachmentSummary without the id and taskId.- Specified by:
copyin interfaceAttachmentSummary- Returns:
- a copy of this AttachmentSummary
-
getClassificationSummaryImpl
public ClassificationSummaryImpl getClassificationSummaryImpl()
-
setClassificationSummaryImpl
public void setClassificationSummaryImpl(ClassificationSummaryImpl classificationSummary)
-
getObjectReferenceImpl
public ObjectReferenceImpl getObjectReferenceImpl()
-
setObjectReferenceImpl
public void setObjectReferenceImpl(ObjectReferenceImpl objectReferenceImpl)
-
canEqual
protected boolean canEqual(Object other)
-
-