Class ToDoElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AttributedMetadataElement
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 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 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<RelatedMetadataElementSummary> assignedActors) Set up the list of actors assigned to this work item.void
setProperties
(ToDoProperties properties) Set up the to do properties.void
setSponsors
(List<RelatedMetadataElementSummary> sponsors) Set up the list of sponsors for this action.void
setToDoSource
(RelatedMetadataElementSummary toDoSource) Set up details of the To DotoString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AttributedMetadataElement
getAlsoKnownAs, getAttachedComments, getAttachedKeywords, getAttachedLikes, getAttachedReviews, getAttachedTags, getElementHeader, getExternalReferences, getMemberOfCollections, getMermaidGraph, getOtherRelatedElements, getRelatedBy, getSemanticAssignments, setAlsoKnownAs, setAttachedComments, setAttachedKeywords, setAttachedLikes, setAttachedReviews, setAttachedTags, setElementHeader, setExternalReferences, setMemberOfCollections, setMermaidGraph, setOtherRelatedElements, setRelatedBy, setSemanticAssignments
-
Constructor Details
-
ToDoElement
public ToDoElement()Default constructor -
ToDoElement
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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- Overrides:
toString
in classAttributedMetadataElement
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classAttributedMetadataElement
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classAttributedMetadataElement
- Returns:
- int hash code
-