java.lang.Object
org.odpi.openmetadata.accessservices.itinfrastructure.metadataelements.ControlFlowElement

public class ControlFlowElement extends Object
ControlFlowElement contains the properties and header for a control flow relationship retrieved from the metadata repository.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with the relationship.
    Return details of the relationship
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with end 1 of the relationship.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with end 2 of the relationship.
    int
    Return hash code for this object
    void
    setControlFlowHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader controlFlowHeader)
    Set up the element header associated with the relationship.
    void
    Set up relationship properties
    void
    setCurrentStep(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader currentStep)
    Set up the element header associated with end 1 of the relationship.
    void
    setNextStep(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader nextStep)
    Set up the element header associated with end 2 of the relationship.
    JSON-style toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ControlFlowElement

      public ControlFlowElement()
      Default constructor
    • ControlFlowElement

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

    • getControlFlowHeader

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getControlFlowHeader()
      Return the element header associated with the relationship.
      Returns:
      element header object
    • setControlFlowHeader

      public void setControlFlowHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.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 org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getCurrentStep()
      Return the element header associated with end 1 of the relationship.
      Returns:
      element header object
    • setCurrentStep

      public void setCurrentStep(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader currentStep)
      Set up the element header associated with end 1 of the relationship.
      Parameters:
      currentStep - element header object
    • getNextStep

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getNextStep()
      Return the element header associated with end 2 of the relationship.
      Returns:
      element header object
    • setNextStep

      public void setNextStep(org.odpi.openmetadata.frameworks.connectors.properties.beans.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