Package pro.taskana.task.rest.models
Class AttachmentSummaryRepresentationModel
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<AttachmentSummaryRepresentationModel>
-
- pro.taskana.task.rest.models.AttachmentSummaryRepresentationModel
-
- Direct Known Subclasses:
AttachmentRepresentationModel
public class AttachmentSummaryRepresentationModel extends org.springframework.hateoas.RepresentationModel<AttachmentSummaryRepresentationModel>
EntityModel class forAttachmentSummary.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringattachmentIdUnique Id.protected StringchannelDetermines on which channel this attachment was received.protected ClassificationSummaryRepresentationModelclassificationSummaryThe classification of this attachment.protected InstantcreatedThe creation timestamp in the system.protected InstantmodifiedThe timestamp of the last modification.protected ObjectReferenceRepresentationModelobjectReferenceThe Objects primary ObjectReference.protected InstantreceivedThe timestamp of the entry date.protected StringtaskIdthe referenced task id.
-
Constructor Summary
Constructors Constructor Description AttachmentSummaryRepresentationModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttachmentId()StringgetChannel()ClassificationSummaryRepresentationModelgetClassificationSummary()InstantgetCreated()InstantgetModified()ObjectReferenceRepresentationModelgetObjectReference()InstantgetReceived()StringgetTaskId()voidsetAttachmentId(String attachmentId)voidsetChannel(String channel)voidsetClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary)voidsetCreated(Instant created)voidsetModified(Instant modified)voidsetObjectReference(ObjectReferenceRepresentationModel objectReference)voidsetReceived(Instant received)voidsetTaskId(String taskId)
-
-
-
Field Detail
-
attachmentId
protected String attachmentId
Unique Id.
-
taskId
protected String taskId
the referenced task id.
-
created
protected Instant created
The creation timestamp in the system.
-
modified
protected Instant modified
The timestamp of the last modification.
-
received
protected Instant received
The timestamp of the entry date.
-
classificationSummary
protected ClassificationSummaryRepresentationModel classificationSummary
The classification of this attachment.
-
objectReference
protected ObjectReferenceRepresentationModel objectReference
The Objects primary ObjectReference.
-
channel
protected String channel
Determines on which channel this attachment was received.
-
-
Method Detail
-
getAttachmentId
public String getAttachmentId()
-
setAttachmentId
public void setAttachmentId(String attachmentId)
-
getTaskId
public String getTaskId()
-
setTaskId
public void setTaskId(String taskId)
-
getCreated
public Instant getCreated()
-
setCreated
public void setCreated(Instant created)
-
getModified
public Instant getModified()
-
setModified
public void setModified(Instant modified)
-
getReceived
public Instant getReceived()
-
setReceived
public void setReceived(Instant received)
-
getClassificationSummary
public ClassificationSummaryRepresentationModel getClassificationSummary()
-
setClassificationSummary
public void setClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary)
-
getObjectReference
public ObjectReferenceRepresentationModel getObjectReference()
-
setObjectReference
public void setObjectReference(ObjectReferenceRepresentationModel objectReference)
-
getChannel
public String getChannel()
-
setChannel
public void setChannel(String channel)
-
-