Class ActionTargetStatusRequestBody

java.lang.Object
org.odpi.openmetadata.frameworkservices.gaf.rest.ActionTargetStatusRequestBody

public class ActionTargetStatusRequestBody extends Object
ActionTargetStatusRequestBody provides a structure for passing the properties that sit in the ActionTarget relationship.
  • Constructor Details

    • ActionTargetStatusRequestBody

      public ActionTargetStatusRequestBody()
      Default constructor
    • ActionTargetStatusRequestBody

      public ActionTargetStatusRequestBody(ActionTargetStatusRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getActionTargetGUID

      public String getActionTargetGUID()
      Return the unique identifier of the action target metadata element.
      Returns:
      string guid
    • setActionTargetGUID

      public void setActionTargetGUID(String actionTargetGUID)
      Set up the unique identifier of the action target metadata element.
      Parameters:
      actionTargetGUID - string guid
    • getStatus

      public EngineActionStatus getStatus()
      Return the status of the work on this actionTarget.
      Returns:
      status enum
    • setStatus

      public void setStatus(EngineActionStatus status)
      Set up the status of the work on this actionTarget.
      Parameters:
      status - status enum
    • getStartDate

      public Date getStartDate()
      Return the date/time that work on this action target started.
      Returns:
      date object
    • setStartDate

      public void setStartDate(Date startDate)
      Set up the date/time that work on this action target started.
      Parameters:
      startDate - date object
    • getCompletionDate

      public Date getCompletionDate()
      Return the date/time that work on this actionTarget completed.
      Returns:
      date object
    • setCompletionDate

      public void setCompletionDate(Date completionDate)
      Set up the date/time that work on this actionTarget completed.
      Parameters:
      completionDate - date object
    • getCompletionMessage

      public String getCompletionMessage()
      Return message to describe completion results or reasons for failure.
      Returns:
      string
    • setCompletionMessage

      public void setCompletionMessage(String completionMessage)
      Set up message to describe completion results or reasons for failure.
      Parameters:
      completionMessage - string
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.
    • equals

      public boolean equals(Object objectToCompare)
      Equals method that returns true if containing properties are the same.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object to compare
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code