Class ControlFlowElement

  • All Implemented Interfaces:
    java.io.Serializable

    public class ControlFlowElement
    extends java.lang.Object
    implements java.io.Serializable
    ControlFlowElement contains the properties and header for a control flow relationship retrieved from the metadata repository.
    See Also:
    Serialized Form
    • Constructor Detail

      • ControlFlowElement

        public ControlFlowElement()
        Default constructor
      • ControlFlowElement

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

      • 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 java.lang.String toString()
        JSON-style toString
        Overrides:
        toString in class java.lang.Object
        Returns:
        return string containing the property names and values
      • equals

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

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