Class NextGovernanceActionProcessStepLink

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

public class NextGovernanceActionProcessStepLink extends Object
NextGovernanceActionProcessStepLink contains the properties and ends of a NextGovernanceActionProcessStep relationship retrieved from the metadata repository.
  • Constructor Details

    • NextGovernanceActionProcessStepLink

      public NextGovernanceActionProcessStepLink()
      Default constructor
    • NextGovernanceActionProcessStepLink

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

    • getPreviousProcessStep

      public ElementStub getPreviousProcessStep()
      Return details of the previous governance action process step
      Returns:
      governance action process step properties
    • setPreviousProcessStep

      public void setPreviousProcessStep(ElementStub previousProcessStep)
      Set up details of the previous governance action process step
      Parameters:
      previousProcessStep - governance action process step properties
    • getNextProcessStep

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

      public void setNextProcessStep(ElementStub 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