Class ControlFlowProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.lineage.ControlFlowProperties
ControlFlowProperties describe the properties for a control flow relationship.
-
Constructor Summary
ConstructorDescriptionDefault constructorControlFlowProperties
(ControlFlowProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the description of the relationship.getGuard()
Return the guard of the relationship.Returns the stored qualified name property for the relationship.int
hashCode()
Return hash code based on properties.void
setDescription
(String description) Set up the description of the relationship.void
Set up the guard of the relationship.void
setQualifiedName
(String qualifiedName) Set up the fully qualified name.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ControlFlowProperties
public ControlFlowProperties()Default constructor -
ControlFlowProperties
Copy/clone constructor. Retrieves values from the supplied template- Parameters:
template
- element to copy
-
-
Method Details
-
setQualifiedName
Set up the fully qualified name.- Parameters:
qualifiedName
- String name
-
getQualifiedName
Returns the stored qualified name property for the relationship. If no qualified name is available then the empty string is returned.- Returns:
- qualifiedName
-
getDescription
Return the description of the relationship.- Returns:
- string text
-
setDescription
Set up the description of the relationship.- Parameters:
description
- string text
-
getGuard
Return the guard of the relationship.- Returns:
- string guard
-
setGuard
Set up the guard of the relationship.- Parameters:
guard
- string name
-
toString
Standard toString method.- Overrides:
toString
in classRelationshipProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classRelationshipProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int
-