Class ToDoElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ToDoElement
- All Implemented Interfaces:
MetadataElement
ToDoElement contains the properties and header for a "to do" (informal task) retrieved from the metadata repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorToDoElement
(ToDoElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the list of action targets to work on.Return the list of actors assigned to this work item.Return the element header associated with the properties.Return the properties of the to do.Return the list of sponsors for this action.Return the source of the To Doint
hashCode()
Return hash code for this objectvoid
setActionTargets
(List<ToDoActionTargetElement> actionTargets) Set up the list of action targets to work on.void
setAssignedActors
(List<ElementStub> assignedActors) Set up the list of actors assigned to this work item.void
setElementHeader
(ElementHeader elementHeader) Set up the element header associated with the properties.void
setProperties
(ToDoProperties properties) Set up the to do properties.void
setSponsors
(List<ElementStub> sponsors) Set up the list of sponsors for this action.void
setToDoSource
(ElementStub toDoSource) Set up details of the To DotoString()
JSON-style toString
-
Constructor Details
-
ToDoElement
public ToDoElement()Default constructor -
ToDoElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getElementHeader
Return the element header associated with the properties.- Specified by:
getElementHeader
in interfaceMetadataElement
- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeader
in interfaceMetadataElement
- Parameters:
elementHeader
- element header object
-
getProperties
Return the properties of the to do.- Returns:
- properties
-
setProperties
Set up the to do properties.- Parameters:
properties
- properties
-
getToDoSource
Return the source of the To Do- Returns:
- element stub
-
setToDoSource
Set up details of the To Do- Parameters:
toDoSource
- element stub
-
getAssignedActors
Return the list of actors assigned to this work item.- Returns:
- list of actors
-
setAssignedActors
Set up the list of actors assigned to this work item.- Parameters:
assignedActors
- list of actors
-
getSponsors
Return the list of sponsors for this action.- Returns:
- list of sponsors
-
setSponsors
Set up the list of sponsors for this action.- Parameters:
sponsors
- list of sponsors
-
getActionTargets
Return the list of action targets to work on.- Returns:
- list
-
setActionTargets
Set up the list of action targets to work on.- Parameters:
actionTargets
- list
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-