Class ToDoRequestBody
java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.ToDoRequestBody
ToDoRequestBody provides a structure for passing the properties for a new to do.
-
Constructor Summary
ConstructorDescriptionDefault constructorToDoRequestBody
(ToDoRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals method that returns true if containing properties are the same.Return the list of elements that should be acted upon.Return any additional properties.Return the unique name of the person that should perform the to do.Return a category of to dos (for example, "data error", "access request").Return the unique identifier of the element that describes the rule, project that this is on behalf of.Return the date/time that to do should be completed.Return the instructions that describe the action to perform.int
Return the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).Return the unique name of the new to do.getTitle()
Return the short description of the action to perform.int
hashCode()
Return hash code for this objectvoid
setActionTargets
(List<NewActionTarget> actionTargets) Set up the list of elements that should be acted upon.void
setAdditionalProperties
(Map<String, String> additionalProperties) Set up any additional properties.void
setAssignToQualifiedName
(String assignToQualifiedName) Set up the unique name of the person that should perform the to do.void
setCategory
(String category) Set up a category of to dos (for example, "data error", "access request").void
setCauseGUID
(String causeGUID) Set up the unique identifier of the element that describes the rule, project that this is on behalf of.void
setDueDate
(Date dueDate) Set up the date/time that to do should be completed.void
setInstructions
(String instructions) Set up the instructions that describe the action to perform.void
setPriority
(int priority) Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).void
setQualifiedName
(String qualifiedName) Set up the unique name of the new to do.void
Set up the short description of the action to perform.toString()
JSON-style toString.
-
Constructor Details
-
ToDoRequestBody
public ToDoRequestBody()Default constructor -
ToDoRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getQualifiedName
Return the unique name of the new to do.- Returns:
- string name
-
setQualifiedName
Set up the unique name of the new to do.- Parameters:
qualifiedName
- string name
-
getTitle
Return the short description of the action to perform. It could be used as the subject of an email or message.- Returns:
- string text
-
setTitle
Set up the short description of the action to perform. It could be used as the subject of an email or message.- Parameters:
title
- string text
-
getInstructions
Return the instructions that describe the action to perform.- Returns:
- text
-
setInstructions
Set up the instructions that describe the action to perform.- Parameters:
instructions
- text
-
getCategory
Return a category of to dos (for example, "data error", "access request").- Returns:
- name string
-
setCategory
Set up a category of to dos (for example, "data error", "access request").- Parameters:
category
- name string
-
getPriority
public int getPriority()Return the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).- Returns:
- int
-
setPriority
public void setPriority(int priority) Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).- Parameters:
priority
- int
-
getDueDate
Return the date/time that to do should be completed.- Returns:
- date/time
-
setDueDate
Set up the date/time that to do should be completed.- Parameters:
dueDate
- date/time
-
getAdditionalProperties
Return any additional properties.- Returns:
- property map
-
setAdditionalProperties
Set up any additional properties.- Parameters:
additionalProperties
- property map
-
getAssignToQualifiedName
Return the unique name of the person that should perform the to do.- Returns:
- string name
-
setAssignToQualifiedName
Set up the unique name of the person that should perform the to do.- Parameters:
assignToQualifiedName
- string name
-
getCauseGUID
Return the unique identifier of the element that describes the rule, project that this is on behalf of.- Returns:
- string guid
-
setCauseGUID
Set up the unique identifier of the element that describes the rule, project that this is on behalf of.- Parameters:
causeGUID
- string guid
-
getActionTargets
Return the list of elements that should be acted upon.- Returns:
- list of action targets
-
setActionTargets
Set up the list of elements that should be acted upon.- Parameters:
actionTargets
- list of action targets
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-