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
ConstructorsConstructorDescriptionDefault constructorToDoElement(ToDoElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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 DointhashCode()Return hash code for this objectvoidsetActionTargets(List<ToDoActionTargetElement> actionTargets) Set up the list of action targets to work on.voidsetAssignedActors(List<ElementStub> assignedActors) Set up the list of actors assigned to this work item.voidsetElementHeader(ElementHeader elementHeader) Set up the element header associated with the properties.voidsetProperties(ToDoProperties properties) Set up the to do properties.voidsetSponsors(List<ElementStub> sponsors) Set up the list of sponsors for this action.voidsetToDoSource(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:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
Set up the element header associated with the properties.- Specified by:
setElementHeaderin 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
-