java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.assets.processes.ProcessContainmentProperties

public class ProcessContainmentProperties extends RelationshipProperties
ProcessContainmentProperties when linking processes in a parent-child hierarchy.
  • Constructor Details

    • ProcessContainmentProperties

      public ProcessContainmentProperties()
      Default constructor
    • ProcessContainmentProperties

      public ProcessContainmentProperties(ProcessContainmentProperties template)
      Copy/clone constructor.
      Parameters:
      template - template to copy.
  • Method Details

    • getProcessContainmentType

      public ProcessContainmentType getProcessContainmentType()
      Return the relationship between the parent and child process.
      Returns:
      process containment type enum
    • setProcessContainmentType

      public void setProcessContainmentType(ProcessContainmentType processContainmentType)
      Set up the relationship between the parent and child process.
      Parameters:
      processContainmentType - process containment type enum
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class RelationshipProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class RelationshipProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class RelationshipProperties
      Returns:
      int hash code