Class ToDoActionTargetProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.actions.ToDoActionTargetProperties
-
Constructor Summary
ConstructorsConstructorDescriptionTypical ConstructorCopy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null; -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the name assigned to this action target.Return the date/time when the governance action service stopped processing this target element.Return the optional message from the running governance service supplied on its completion.Return the date/time when the governance action service started processing this target element.Return the current status of the action target.inthashCode()Create a hash code for this element type.voidsetActionTargetName(String actionTargetName) Set up the name assigned to this action target.voidsetCompletionDate(Date completionDate) Set up the date/time when the governance action service stopped processing this target element.voidsetCompletionMessage(String completionMessage) Set up optional message from the running governance service supplied on its completion.voidsetStartDate(Date startDate) Set up the date/time when the governance action service started processing this target element.voidsetStatus(ToDoStatus status) Set up current status of the action target.toString()Standard toString method.
-
Constructor Details
-
ToDoActionTargetProperties
public ToDoActionTargetProperties()Typical Constructor -
ToDoActionTargetProperties
Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;- Parameters:
template- object being copied
-
-
Method Details
-
getActionTargetName
Return the name assigned to this action target. This name helps to guide the governance service in its processing of this action target.- Returns:
- string name
-
setActionTargetName
Set up the name assigned to this action target. This name helps to guide the governance service in its processing of this action target.- Parameters:
actionTargetName- string name
-
getStatus
Return the current status of the action target. The default value is the status is derived from the engine action. However, if it has to process many target elements, then these values can be used to show progress.- Returns:
- status enum
-
setStatus
Set up current status of the action target. The default value is the status is derived from the "To Do". However, if the assigned person has to process many target elements, then these values can be used to show progress.- Parameters:
status- enum
-
getStartDate
Return the date/time when the governance action service started processing this target element. By default, this value is derived from the startDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Returns:
- date object
-
setStartDate
Set up the date/time when the governance action service started processing this target element. By default, this value is derived from the startDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Parameters:
startDate- date object
-
getCompletionDate
Return the date/time when the governance action service stopped processing this target element. By default, this value is derived from the completionDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Returns:
- date object
-
setCompletionDate
Set up the date/time when the governance action service stopped processing this target element. By default, this value is derived from the completionDate for the governance action service. However, if it has to process many target elements, then these values can be used to show progress.- Parameters:
completionDate- date object
-
getCompletionMessage
Return the optional message from the running governance service supplied on its completion.- Returns:
- string message
-
setCompletionMessage
Set up optional message from the running governance service supplied on its completion.- Parameters:
completionMessage- string message
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-