Class RelatedEngineActionElement

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

public class RelatedEngineActionElement extends Object
RelatedEngineActionElement contains the properties for a NextEngineAction relationship retrieved from the metadata repository.
  • Constructor Details

    • RelatedEngineActionElement

      public RelatedEngineActionElement()
      Default constructor
    • RelatedEngineActionElement

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

    • getRelatedAction

      public ElementStub getRelatedAction()
      Return details of the next governance action
      Returns:
      governance action type properties
    • setRelatedAction

      public void setRelatedAction(ElementStub relatedAction)
      Set up details of the next governance action
      Parameters:
      relatedAction - governance action type properties
    • getRelatedActionLinkGUID

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

      public void setRelatedActionLinkGUID(String relatedActionLinkGUID)
      Set up the unique identifier of the relationship.
      Parameters:
      relatedActionLinkGUID - 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
    • getIgnoreMultipleTriggers

      public boolean getIgnoreMultipleTriggers()
      Return whether this action type can be triggered more than once in a single step of the governance action process.
      Returns:
      boolean flag
    • setIgnoreMultipleTriggers

      public void setIgnoreMultipleTriggers(boolean ignoreMultipleTriggers)
      Set up whether this action type can be triggered more than once in a single step of the governance action process.
      Parameters:
      ignoreMultipleTriggers - 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