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
ConstructorsConstructorDescriptionDefault constructorControlFlowProperties(ControlFlowProperties template) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.getLabel()Return the label used when displaying this relationship.Returns the stored qualified name property for the relationship.inthashCode()Return hash code based on properties.voidsetDescription(String description) Set up the description of the relationship.voidSet up the guard of the relationship.voidSet up the label used when displaying this relationship.voidsetQualifiedName(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
-
getLabel
Return the label used when displaying this relationship.- Returns:
- string
-
setLabel
Set up the label used when displaying this relationship.- Parameters:
label- string
-
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:
toStringin 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:
equalsin classRelationshipProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCodein classRelationshipProperties- Returns:
- int
-