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 for
AttachmentSummary.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringUnique Id.protected StringDetermines on which channel this attachment was received.protected ClassificationSummaryRepresentationModelThe classification of this attachment.protected InstantThe creation timestamp in the system.protected InstantThe timestamp of the last modification.protected ObjectReferenceRepresentationModelThe Objects primary ObjectReference.protected InstantThe timestamp of the entry date.protected Stringthe referenced task id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAttachmentId(String attachmentId) voidsetChannel(String channel) voidsetClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary) voidsetCreated(Instant created) voidsetModified(Instant modified) voidsetObjectReference(ObjectReferenceRepresentationModel objectReference) voidsetReceived(Instant received) voidMethods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, equals, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hashCode, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks, toString
-
Field Details
-
attachmentId
Unique Id. -
taskId
the referenced task id. -
created
The creation timestamp in the system. -
modified
The timestamp of the last modification. -
received
The timestamp of the entry date. -
classificationSummary
The classification of this attachment. -
objectReference
The Objects primary ObjectReference. -
channel
Determines on which channel this attachment was received.
-
-
Constructor Details
-
AttachmentSummaryRepresentationModel
public AttachmentSummaryRepresentationModel()
-
-
Method Details
-
getAttachmentId
-
setAttachmentId
-
getTaskId
-
setTaskId
-
getCreated
-
setCreated
-
getModified
-
setModified
-
getReceived
-
setReceived
-
getClassificationSummary
-
setClassificationSummary
public void setClassificationSummary(ClassificationSummaryRepresentationModel classificationSummary) -
getObjectReference
-
setObjectReference
-
getChannel
-
setChannel
-