Class ProcessContainmentProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessContainmentProperties
ProcessContainmentProperties when linking processes in a parent-child hierarchy.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the relationship between the parent and child process.int
hashCode()
Create a hash code for this element type.void
setProcessContainmentType
(ProcessContainmentType processContainmentType) Set up the relationship between the parent and child process.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ProcessContainmentProperties
public ProcessContainmentProperties()Default constructor -
ProcessContainmentProperties
Copy/clone constructor.- Parameters:
template
- template to copy.
-
-
Method Details
-
getProcessContainmentType
Return the relationship between the parent and child process.- Returns:
- process containment type enum
-
setProcessContainmentType
Set up the relationship between the parent and child process.- Parameters:
processContainmentType
- process containment type enum
-
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()Create a hash code for this element type.- Overrides:
hashCode
in classRelationshipProperties
- Returns:
- int hash code
-