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
ConstructorsConstructorDescriptionDefault constructorToDoRequestBody(ToDoRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget>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.intReturn 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.inthashCode()Return hash code for this objectvoidsetActionTargets(List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets) Set up the list of elements that should be acted upon.voidsetAdditionalProperties(Map<String, String> additionalProperties) Set up any additional properties.voidsetAssignToQualifiedName(String assignToQualifiedName) Set up the unique name of the person that should perform the to do.voidsetCategory(String category) Set up a category of to dos (for example, "data error", "access request").voidsetCauseGUID(String causeGUID) Set up the unique identifier of the element that describes the rule, project that this is on behalf of.voidsetDueDate(Date dueDate) Set up the date/time that to do should be completed.voidsetInstructions(String instructions) Set up the instructions that describe the action to perform.voidsetPriority(int priority) Set up the identifier of the governance domain that this incident report belongs to (0=ALL/ANY).voidsetQualifiedName(String qualifiedName) Set up the unique name of the new to do.voidSet 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
public List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> getActionTargets()Return the list of elements that should be acted upon.- Returns:
- list of action targets
-
setActionTargets
public void setActionTargets(List<org.odpi.openmetadata.frameworks.governanceaction.properties.NewActionTarget> actionTargets) 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
-