Package pro.taskana.task.internal.models
Class AttachmentImpl
java.lang.Object
pro.taskana.task.internal.models.AttachmentSummaryImpl
pro.taskana.task.internal.models.AttachmentImpl
- All Implemented Interfaces:
Attachment,AttachmentSummary
Attachment entity.
-
Field Summary
Fields inherited from class pro.taskana.task.internal.models.AttachmentSummaryImpl
channel, classificationSummary, created, id, modified, objectReference, received, taskId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a summary of the current Attachment.protected booleancopy()Duplicates this AttachmentSummary without the id and taskId.booleanReturns the custom attributes of this Attachment.inthashCode()voidsetCustomAttributeMap(Map<String, String> customAttributes) Sets the custom attribute Map of the Attachment.voidsetCustomAttributes(Map<String, String> customAttributes) toString()Methods inherited from class pro.taskana.task.internal.models.AttachmentSummaryImpl
getChannel, getClassificationSummary, getClassificationSummaryImpl, getCreated, getId, getModified, getObjectReference, getObjectReferenceImpl, getReceived, getTaskId, setChannel, setClassificationSummary, setClassificationSummaryImpl, setCreated, setId, setModified, setObjectReference, setObjectReferenceImpl, setReceived, setTaskIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface pro.taskana.task.api.models.Attachment
setChannel, setClassificationSummary, setObjectReference, setReceivedMethods inherited from interface pro.taskana.task.api.models.AttachmentSummary
getChannel, getClassificationSummary, getCreated, getId, getModified, getObjectReference, getReceived, getTaskId
-
Constructor Details
-
AttachmentImpl
public AttachmentImpl()
-
-
Method Details
-
getCustomAttributeMap
Description copied from interface:AttachmentReturns the custom attributes of this Attachment.- Specified by:
getCustomAttributeMapin interfaceAttachment- Returns:
- customAttributes as Map
-
setCustomAttributeMap
Description copied from interface:AttachmentSets the custom attribute Map of the Attachment.- Specified by:
setCustomAttributeMapin interfaceAttachment- Parameters:
customAttributes- a Map that contains the custom attributes of the Attachment as key, value pairs
-
asSummary
Description copied from interface:AttachmentReturns a summary of the current Attachment.- Specified by:
asSummaryin interfaceAttachment- Returns:
- the AttachmentSummary object for the current Attachment
-
getCustomAttributes
-
setCustomAttributes
-
copy
Description copied from interface:AttachmentSummaryDuplicates this AttachmentSummary without the id and taskId.- Specified by:
copyin interfaceAttachment- Specified by:
copyin interfaceAttachmentSummary- Overrides:
copyin classAttachmentSummaryImpl- Returns:
- a copy of this AttachmentSummary
-
canEqual
- Overrides:
canEqualin classAttachmentSummaryImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classAttachmentSummaryImpl
-
equals
- Overrides:
equalsin classAttachmentSummaryImpl
-
toString
- Overrides:
toStringin classAttachmentSummaryImpl
-