Package com.qfs.snl.dtos
Class TaskDto
java.lang.Object
com.qfs.snl.dtos.TaskDto
- All Implemented Interfaces:
Serializable
DTO representing a user task to perform.
- Author:
- ActiveViam
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the assignee.Returns the candidates.Returns the category.Returns the description.Returns the fields.getId()Returns the id.getName()Returns the name.intReturns the priority.voidsetAssignee(String assignee) Sets the assignee.voidsetCandidates(List<String> candidates) Sets the candidates.voidsetCategory(String category) Sets the category.voidsetDescription(String description) Sets the description.voidsetFormFields(List<FormFieldDto> fields) Sets the fields.voidSets the id.voidSets the name.voidsetPriority(int priority) Sets the priority.
-
Constructor Details
-
TaskDto
public TaskDto()Default constructor.
-
-
Method Details
-
getId
Returns the id. -
setId
Sets the id.- Parameters:
id- The id to set
-
getName
Returns the name. -
setName
Sets the name.- Parameters:
name- The name to set
-
getDescription
Returns the description. -
setDescription
Sets the description.- Parameters:
description- The description to set
-
getCandidates
Returns the candidates. -
setCandidates
Sets the candidates.- Parameters:
candidates- The candidates to set
-
getAssignee
Returns the assignee. -
setAssignee
Sets the assignee.- Parameters:
assignee- The assignee to set
-
getFormFields
Returns the fields. -
setFormFields
Sets the fields.- Parameters:
fields- The fields to set
-
getCategory
Returns the category. -
setCategory
Sets the category.- Parameters:
category- The category to set
-
getPriority
public int getPriority()Returns the priority. -
setPriority
public void setPriority(int priority) Sets the priority.- Parameters:
priority- The priority to set
-