Class ActionTargetElement
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ActionTargetElement
- All Implemented Interfaces:
Serializable
ActionTargetElement describes an element that a governance action service should process.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTypical ConstructorActionTargetElement
(ActionTargetElement template) Copy/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 TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the unique identifier for this action target.Return the name assigned to this action target.Return the date/time when the governance action service stopped processing this target element.Return the date/time when the governance action service started processing this target element.Return the current status of the action target.Return details of the target element that the governance action service is to process.int
hashCode()
Create a hash code for this element type.void
setActionTargetGUID
(String actionTargetGUID) Set up the unique identifier for this action target.void
setActionTargetName
(String actionTargetName) Set up the name assigned to this action target.void
setCompletionDate
(Date completionDate) Set up the date/time when the governance action service stopped processing this target element.void
setStartDate
(Date startDate) Set up the date/time when the governance action service started processing this target element.void
setStatus
(GovernanceActionStatus status) Set up current status of the action target.void
setTargetElement
(ElementStub targetElement) Set up details of the target element that the governance action service is to process.toString()
Standard toString method.
-
Constructor Details
-
ActionTargetElement
public ActionTargetElement()Typical Constructor -
ActionTargetElement
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
-
getActionTargetGUID
Return the unique identifier for this action target.- Returns:
- string identifier
-
setActionTargetGUID
Set up the unique identifier for this action target.- Parameters:
actionTargetGUID
- string identifier
-
getStatus
Return the current status of the action target. The default value is the status is derived from the governance action service. 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 governance action service. However if it 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
-
getTargetElement
Return details of the target element that the governance action service is to process.- Returns:
- metadata element properties
-
setTargetElement
Set up details of the target element that the governance action service is to process.- Parameters:
targetElement
- metadata element properties
-
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.
-