Class ToDoProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.actions.ToDoProperties
The "To Do" describes an action - it may be assigned to a person role (see PersonRoleAction).
-
Constructor Summary
ConstructorDescriptionDefault constructorToDoProperties
(ToDoProperties template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return when this was completed - or null if still outstanding.Return the time that this action was created.Return the description of the asset.Return when this needs to be completed by.Return the last time the action was reviewed for priority, ownership etc.getName()
Return the name of the asset.int
Return how important this is.Return the status of the action/to do.Return theint
hashCode()
Return hash code for this objectvoid
setCompletionTime
(Date completionTime) Set up when this was completed - or null if still outstanding.void
setCreationTime
(Date creationTime) Set up the time that the action was created.void
setDescription
(String description) Set up the description of the asset.void
setDueTime
(Date dueTime) Set up when this needs to be completed by.void
setLastReviewTime
(Date lastReviewTime) Set up the last time the action was reviewed for priority, ownership etc.void
Set up the name of the asset.void
setPriority
(int priority) Set up how important this is.void
setToDoStatus
(ToDoStatus toDoStatus) Set up the status of the action/to do.void
setToDoType
(String toDoType) toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
ToDoProperties
public ToDoProperties()Default constructor -
ToDoProperties
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name of the asset.- Returns:
- string name
-
setName
Set up the name of the asset.- Parameters:
name
- string name
-
getDescription
Return the description of the asset.- Returns:
- text
-
setDescription
Set up the description of the asset.- Parameters:
description
- text
-
getToDoType
Return the- Returns:
-
setToDoType
-
getCreationTime
Return the time that this action was created.- Returns:
- date
-
setCreationTime
Set up the time that the action was created.- Parameters:
creationTime
- data
-
getPriority
public int getPriority()Return how important this is.- Returns:
- int
-
setPriority
public void setPriority(int priority) Set up how important this is.- Parameters:
priority
- integer
-
getLastReviewTime
Return the last time the action was reviewed for priority, ownership etc.- Returns:
- date
-
setLastReviewTime
Set up the last time the action was reviewed for priority, ownership etc.- Parameters:
lastReviewTime
- data
-
getDueTime
Return when this needs to be completed by.- Returns:
- date
-
setDueTime
Set up when this needs to be completed by.- Parameters:
dueTime
- date
-
getCompletionTime
Return when this was completed - or null if still outstanding.- Returns:
- date
-
setCompletionTime
Set up when this was completed - or null if still outstanding.- Parameters:
completionTime
- date
-
getToDoStatus
Return the status of the action/to do.- Returns:
- status enum
-
setToDoStatus
Set up the status of the action/to do.- Parameters:
toDoStatus
- status enum
-
toString
JSON-style toString- Overrides:
toString
in classReferenceableProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classReferenceableProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classReferenceableProperties
- Returns:
- int hash code
-