Class NextGovernanceActionProcessStepElement

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.NextGovernanceActionProcessStepElement

public class NextGovernanceActionProcessStepElement extends Object
NextGovernanceActionProcessStepElement contains the properties and header for a governance action process step entity plus the properties of a NextGovernanceActionProcessStep relationship retrieved from the metadata repository.
  • Constructor Details

    • NextGovernanceActionProcessStepElement

      public NextGovernanceActionProcessStepElement()
      Default constructor
    • NextGovernanceActionProcessStepElement

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

    • getNextProcessStep

      public GovernanceActionProcessStepExecutionElement getNextProcessStep()
      Return details of the next governance action process step
      Returns:
      governance action process step properties
    • setNextProcessStep

      public void setNextProcessStep(GovernanceActionProcessStepExecutionElement nextProcessStep)
      Set up details of the next governance action process step
      Parameters:
      nextProcessStep - governance action process step properties
    • getNextProcessStepLinkGUID

      public String getNextProcessStepLinkGUID()
      Return the unique identifier of the relationship.
      Returns:
      string guid
    • setNextProcessStepLinkGUID

      public void setNextProcessStepLinkGUID(String nextProcessStepLinkGUID)
      Set up the unique identifier of the relationship.
      Parameters:
      nextProcessStepLinkGUID - string guid
    • getGuard

      public String getGuard()
      Return the triggering guard (or null for any guard).
      Returns:
      string name
    • setGuard

      public void setGuard(String guard)
      Set up the triggering guard (or null for any guard).
      Parameters:
      guard - string name
    • getMandatoryGuard

      public boolean getMandatoryGuard()
      Return if the guard must be returned from the previous action for any of the next actions to progress.
      Returns:
      boolean flag
    • setMandatoryGuard

      public void setMandatoryGuard(boolean mandatoryGuard)
      Set up if the guard must be returned from the previous action for any of the next actions to progress.
      Parameters:
      mandatoryGuard - boolean flag
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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