java.lang.Object
org.odpi.openmetadata.frameworks.opengovernance.properties.RequestSourceElement

public class RequestSourceElement extends Object
RequestSourceElement describes the element that triggered the request to the governance action service.
  • Constructor Details

    • RequestSourceElement

      public RequestSourceElement()
      Typical Constructor
    • RequestSourceElement

      public RequestSourceElement(RequestSourceElement template)
      Copy/clone Constructor the resulting object will return true if tested with this.equals(template) as long as the template object is not null;
      Parameters:
      template - object being copied
  • Method Details

    • getRequestSourceElement

      public OpenMetadataElement getRequestSourceElement()
      Return the specific element that caused the governance action service to be started.
      Returns:
      metadata element
    • setRequestSourceElement

      public void setRequestSourceElement(OpenMetadataElement requestSourceElement)
      Set up the specific element that caused the governance action service to be started.
      Parameters:
      requestSourceElement - metadata element
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      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 Object
      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 Object
      Returns:
      int hash code