public class AttachmentImpl extends Object implements Attachment
| Modifier and Type | Method and Description |
|---|---|
AttachmentSummary |
asSummary()
Return a summary of the current Attachment.
|
boolean |
equals(Object obj) |
String |
getChannel()
Returns the Channel on which the attachment was received.
|
ClassificationSummary |
getClassificationSummary()
Returns the classification summary of the attachment.
|
ClassificationSummaryImpl |
getClassificationSummaryImpl() |
java.time.Instant |
getCreated()
Returns the time when the attachment was created.
|
Map<String,String> |
getCustomAttributes()
Returns the custom attributes of this attachment.
|
String |
getId()
Returns the current id of the attachment.
|
java.time.Instant |
getModified()
Returns the time when the attachment was last modified.
|
ObjectReference |
getObjectReference()
Returns the
primaryObjectReference of the attachment. |
java.time.Instant |
getReceived()
Returns the time when this attachment was received.
|
String |
getTaskId()
Returns the id of the associated task.
|
int |
hashCode() |
void |
setChannel(String channel)
Sets the Channel on which the attachment was received.
|
void |
setClassificationSummary(ClassificationSummary classificationSummary)
Set the classification summary for this attachment.
|
void |
setClassificationSummaryImpl(ClassificationSummaryImpl classificationSummary) |
void |
setCreated(java.time.Instant created) |
void |
setCustomAttributes(Map<String,String> customAttributes)
Sets the custom attribute Map of the attachment.
|
void |
setId(String id) |
void |
setModified(java.time.Instant modified) |
void |
setObjectReference(ObjectReference objectReference)
Sets the
primaryObjectReference of the attachment. |
void |
setReceived(java.time.Instant received)
Sets the time when the attachment was received.
|
void |
setTaskId(String taskId) |
String |
toString() |
public String getId()
AttachmentgetId in interface Attachmentpublic void setId(String id)
public String getTaskId()
AttachmentgetTaskId in interface Attachmentpublic void setTaskId(String taskId)
public java.time.Instant getCreated()
AttachmentgetCreated in interface AttachmentInstantpublic void setCreated(java.time.Instant created)
public java.time.Instant getModified()
AttachmentgetModified in interface AttachmentInstant of the attachmentpublic void setModified(java.time.Instant modified)
public ClassificationSummary getClassificationSummary()
AttachmentgetClassificationSummary in interface AttachmentClassificationSummary of this attachmentpublic void setClassificationSummary(ClassificationSummary classificationSummary)
AttachmentsetClassificationSummary in interface AttachmentclassificationSummary - the ClassificationSummary for this attachmentpublic ClassificationSummaryImpl getClassificationSummaryImpl()
public void setClassificationSummaryImpl(ClassificationSummaryImpl classificationSummary)
public ObjectReference getObjectReference()
AttachmentprimaryObjectReference of the attachment.getObjectReference in interface AttachmentprimaryObjectReference of the attachmentpublic void setObjectReference(ObjectReference objectReference)
AttachmentprimaryObjectReference of the attachment.setObjectReference in interface AttachmentobjectReference - the primaryObjectReference of the attachmentpublic String getChannel()
AttachmentgetChannel in interface Attachmentpublic void setChannel(String channel)
AttachmentsetChannel in interface Attachmentchannel - the channel on which the attachment was receivedpublic java.time.Instant getReceived()
AttachmentgetReceived in interface AttachmentInstantpublic void setReceived(java.time.Instant received)
AttachmentsetReceived in interface Attachmentreceived - the time as Instant when the attachment was receivedpublic Map<String,String> getCustomAttributes()
AttachmentgetCustomAttributes in interface AttachmentMappublic void setCustomAttributes(Map<String,String> customAttributes)
AttachmentsetCustomAttributes in interface AttachmentcustomAttributes - a Map that contains the custom attributes of the attachment as key, value pairspublic AttachmentSummary asSummary()
AttachmentasSummary in interface AttachmentCopyright © 2019. All rights reserved.