Class ToDoElement
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.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.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>Return the list of actors assigned to this work item.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the properties.Return the properties of the to do.List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub>Return the list of sponsors for this action.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStubReturn the source of the To DointhashCode()Return hash code for this objectvoidsetActionTargets(List<ActionTargetElement> actionTargets) Set up the list of action targets to work on.voidsetAssignedActors(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> assignedActors) Set up the list of actors assigned to this work item.voidsetElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) Set up the element header associated with the properties.voidsetProperties(ToDoProperties properties) Set up the to do properties.voidsetSponsors(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> sponsors) Set up the list of sponsors for this action.voidsetToDoSource(org.odpi.openmetadata.frameworks.connectors.properties.beans.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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getElementHeader()Return the element header associated with the properties.- Specified by:
getElementHeaderin interfaceMetadataElement- Returns:
- element header object
-
setElementHeader
public void setElementHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader elementHeader) 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
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub getToDoSource()Return the source of the To Do- Returns:
- element stub
-
setToDoSource
public void setToDoSource(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub toDoSource) Set up details of the To Do- Parameters:
toDoSource- element stub
-
getAssignedActors
public List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> getAssignedActors()Return the list of actors assigned to this work item.- Returns:
- list of actors
-
setAssignedActors
public void setAssignedActors(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> assignedActors) 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
public void setSponsors(List<org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementStub> sponsors) 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
-