java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.ProcessCallElement

public class ProcessCallElement extends Object
ProcessCallElement contains the properties and header for a process call relationship retrieved from the metadata repository.
  • Constructor Details

    • ProcessCallElement

      public ProcessCallElement()
      Default constructor
    • ProcessCallElement

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

    • getProcessCallHeader

      public ElementHeader getProcessCallHeader()
      Return the element header associated with the relationship.
      Returns:
      element header object
    • setProcessCallHeader

      public void setProcessCallHeader(ElementHeader processCallHeader)
      Set up the element header associated with the relationship.
      Parameters:
      processCallHeader - element header object
    • getProcessCallProperties

      public ProcessCallProperties getProcessCallProperties()
      Return details of the relationship
      Returns:
      relationship properties
    • setProcessCallProperties

      public void setProcessCallProperties(ProcessCallProperties processCallProperties)
      Set up relationship properties
      Parameters:
      processCallProperties - relationship properties
    • getCaller

      public ElementHeader getCaller()
      Return the element header associated with end 1 of the relationship.
      Returns:
      element header object
    • setCaller

      public void setCaller(ElementHeader caller)
      Set up the element header associated with end 1 of the relationship.
      Parameters:
      caller - element header object
    • getCalled

      public ElementHeader getCalled()
      Return the element header associated with end 2 of the relationship.
      Returns:
      element header object
    • setCalled

      public void setCalled(ElementHeader called)
      Set up the element header associated with end 2 of the relationship.
      Parameters:
      called - element header object
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code