Class ControlFlowElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlFlowElement()Default constructorControlFlowElement(ControlFlowElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ElementHeadergetControlFlowHeader()Return the element header associated with the relationship.ControlFlowPropertiesgetControlFlowProperties()Return details of the relationshipElementHeadergetCurrentStep()Return the element header associated with end 1 of the relationship.ElementHeadergetNextStep()Return the element header associated with end 2 of the relationship.inthashCode()Return hash code for this objectvoidsetControlFlowHeader(ElementHeader controlFlowHeader)Set up the element header associated with the relationship.voidsetControlFlowProperties(ControlFlowProperties controlFlowProperties)Set up relationship propertiesvoidsetCurrentStep(ElementHeader currentStep)Set up the element header associated with end 1 of the relationship.voidsetNextStep(ElementHeader nextStep)Set up the element header associated with end 2 of the relationship.StringtoString()JSON-style toString
-
-
-
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 String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-