java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.metadataelements.ControlFlowElement
All Implemented Interfaces:
Serializable

public class ControlFlowElement extends Object implements Serializable
ControlFlowElement contains the properties and header for a control flow relationship retrieved from the metadata repository.
See Also:
  • Constructor Details

    • ControlFlowElement

      public ControlFlowElement()
      Default constructor
    • ControlFlowElement

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

    • getControlFlowHeader

      public ElementHeader getControlFlowHeader()
      Return the element header associated with the relationship.
      Returns:
      element header object
    • setControlFlowHeader

      public void setControlFlowHeader(ElementHeader controlFlowHeader)
      Set up the element header associated with the relationship.
      Parameters:
      controlFlowHeader - element header object
    • getControlFlowProperties

      public ControlFlowProperties getControlFlowProperties()
      Return details of the relationship
      Returns:
      relationship properties
    • setControlFlowProperties

      public void setControlFlowProperties(ControlFlowProperties controlFlowProperties)
      Set up relationship properties
      Parameters:
      controlFlowProperties - relationship properties
    • getCurrentStep

      public ElementHeader getCurrentStep()
      Return the element header associated with end 1 of the relationship.
      Returns:
      element header object
    • setCurrentStep

      public void setCurrentStep(ElementHeader currentStep)
      Set up the element header associated with end 1 of the relationship.
      Parameters:
      currentStep - element header object
    • getNextStep

      public ElementHeader getNextStep()
      Return the element header associated with end 2 of the relationship.
      Returns:
      element header object
    • setNextStep

      public void setNextStep(ElementHeader nextStep)
      Set up the element header associated with end 2 of the relationship.
      Parameters:
      nextStep - element header object
    • 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